Struct xpcom::interfaces::nsIDOMFontFace
[−]
[src]
#[repr(C)]pub struct nsIDOMFontFace { /* fields omitted */ }
interface nsIDOMFontFace : nsISupports
Methods
impl nsIDOMFontFace
[src]
pub fn coerce<T: nsIDOMFontFaceCoerce>(&self) -> &T
[src]
Cast this nsIDOMFontFace
to one of its base interfaces.
impl nsIDOMFontFace
[src]
pub unsafe fn GetFromFontGroup(&self, aFromFontGroup: *mut bool) -> nsresult
[src]
readonly attribute boolean fromFontGroup;
pub unsafe fn GetFromLanguagePrefs(
&self,
aFromLanguagePrefs: *mut bool
) -> nsresult
[src]
&self,
aFromLanguagePrefs: *mut bool
) -> nsresult
readonly attribute boolean fromLanguagePrefs;
pub unsafe fn GetFromSystemFallback(
&self,
aFromSystemFallback: *mut bool
) -> nsresult
[src]
&self,
aFromSystemFallback: *mut bool
) -> nsresult
readonly attribute boolean fromSystemFallback;
pub unsafe fn GetName(&self, aName: &mut nsAString) -> nsresult
[src]
readonly attribute DOMString name;
pub unsafe fn GetCSSFamilyName(
&self,
aCSSFamilyName: &mut nsAString
) -> nsresult
[src]
&self,
aCSSFamilyName: &mut nsAString
) -> nsresult
readonly attribute DOMString CSSFamilyName;
pub unsafe fn GetRule(
&self,
aRule: *mut *const nsIDOMCSSFontFaceRule
) -> nsresult
[src]
&self,
aRule: *mut *const nsIDOMCSSFontFaceRule
) -> nsresult
readonly attribute nsIDOMCSSFontFaceRule rule;
pub unsafe fn GetSrcIndex(&self, aSrcIndex: *mut int32_t) -> nsresult
[src]
readonly attribute long srcIndex;
pub unsafe fn GetURI(&self, aURI: &mut nsAString) -> nsresult
[src]
readonly attribute DOMString URI;
pub unsafe fn GetLocalName(&self, aLocalName: &mut nsAString) -> nsresult
[src]
readonly attribute DOMString localName;
pub unsafe fn GetFormat(&self, aFormat: &mut nsAString) -> nsresult
[src]
readonly attribute DOMString format;
pub unsafe fn GetMetadata(&self, aMetadata: &mut nsAString) -> nsresult
[src]
readonly attribute DOMString metadata;
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 nsIDOMFontFace
[src]
const IID: nsIID
IID: nsIID = nsID(2587562610, 25989, 20289, [176, 143, 253, 197, 218, 68, 76, 208])
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 nsIDOMFontFace
[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 nsIDOMFontFace
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.