Struct xpcom::interfaces::nsIDOMValidityState
[−]
[src]
#[repr(C)]pub struct nsIDOMValidityState { /* fields omitted */ }
interface nsIDOMValidityState : nsISupports
/**
* The nsIDOMValidityState interface is the interface to a ValidityState
* object which represents the validity states of an element.
*
* For more information on this interface please see
* http://www.whatwg.org/specs/web-apps/current-work/#validitystate
*/
Methods
impl nsIDOMValidityState
[src]
pub fn coerce<T: nsIDOMValidityStateCoerce>(&self) -> &T
[src]
Cast this nsIDOMValidityState
to one of its base interfaces.
impl nsIDOMValidityState
[src]
pub unsafe fn GetValueMissing(&self, aValueMissing: *mut bool) -> nsresult
[src]
readonly attribute boolean valueMissing;
pub unsafe fn GetTypeMismatch(&self, aTypeMismatch: *mut bool) -> nsresult
[src]
readonly attribute boolean typeMismatch;
pub unsafe fn GetPatternMismatch(&self, aPatternMismatch: *mut bool) -> nsresult
[src]
readonly attribute boolean patternMismatch;
pub unsafe fn GetTooLong(&self, aTooLong: *mut bool) -> nsresult
[src]
readonly attribute boolean tooLong;
pub unsafe fn GetTooShort(&self, aTooShort: *mut bool) -> nsresult
[src]
readonly attribute boolean tooShort;
pub unsafe fn GetRangeUnderflow(&self, aRangeUnderflow: *mut bool) -> nsresult
[src]
readonly attribute boolean rangeUnderflow;
pub unsafe fn GetRangeOverflow(&self, aRangeOverflow: *mut bool) -> nsresult
[src]
readonly attribute boolean rangeOverflow;
pub unsafe fn GetStepMismatch(&self, aStepMismatch: *mut bool) -> nsresult
[src]
readonly attribute boolean stepMismatch;
pub unsafe fn GetBadInput(&self, aBadInput: *mut bool) -> nsresult
[src]
readonly attribute boolean badInput;
pub unsafe fn GetCustomError(&self, aCustomError: *mut bool) -> nsresult
[src]
readonly attribute boolean customError;
pub unsafe fn GetValid(&self, aValid: *mut bool) -> nsresult
[src]
readonly attribute boolean valid;
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIDOMValidityState
[src]
const IID: nsIID
IID: nsIID = nsID(12505718, 61943, 18735, [160, 57, 219, 217, 185, 239, 193, 11])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[src]
Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more
impl RefCounted for nsIDOMValidityState
[src]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIDOMValidityState
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.