Struct xpcom::interfaces::nsIFeedGenerator
[−]
[src]
#[repr(C)]pub struct nsIFeedGenerator { /* fields omitted */ }
interface nsIFeedGenerator : nsIFeedElementBase
/**
* An nsIFeedGenerator represents the software used to create a feed.
*/
Methods
impl nsIFeedGenerator
[src]
pub fn coerce<T: nsIFeedGeneratorCoerce>(&self) -> &T
[src]
Cast this nsIFeedGenerator
to one of its base interfaces.
impl nsIFeedGenerator
[src]
pub unsafe fn GetAgent(&self, aAgent: &mut nsAString) -> nsresult
[src]
/**
* The name of the software.
*/
attribute AString agent;
pub unsafe fn SetAgent(&self, aAgent: &nsAString) -> nsresult
[src]
/**
* The name of the software.
*/
attribute AString agent;
pub unsafe fn GetVersion(&self, aVersion: &mut nsAString) -> nsresult
[src]
/**
* The version of the software.
*/
attribute AString version;
pub unsafe fn SetVersion(&self, aVersion: &nsAString) -> nsresult
[src]
/**
* The version of the software.
*/
attribute AString version;
pub unsafe fn GetUri(&self, aUri: *mut *const nsIURI) -> nsresult
[src]
/**
* A URI associated with the software.
*/
attribute nsIURI uri;
pub unsafe fn SetUri(&self, aUri: *const nsIURI) -> nsresult
[src]
/**
* A URI associated with the software.
*/
attribute nsIURI uri;
Methods from Deref<Target = nsIFeedElementBase>
pub fn coerce<T: nsIFeedElementBaseCoerce>(&self) -> &T
[src]
Cast this nsIFeedElementBase
to one of its base interfaces.
pub unsafe fn GetAttributes(
&self,
aAttributes: *mut *const nsISAXAttributes
) -> nsresult
[src]
&self,
aAttributes: *mut *const nsISAXAttributes
) -> nsresult
/**
* The attributes found on the element. Most interfaces provide convenience
* accessors for their standard fields, so this useful only when looking for
* an extension.
*/
attribute nsISAXAttributes attributes;
pub unsafe fn SetAttributes(
&self,
aAttributes: *const nsISAXAttributes
) -> nsresult
[src]
&self,
aAttributes: *const nsISAXAttributes
) -> nsresult
/**
* The attributes found on the element. Most interfaces provide convenience
* accessors for their standard fields, so this useful only when looking for
* an extension.
*/
attribute nsISAXAttributes attributes;
pub unsafe fn GetBaseURI(&self, aBaseURI: *mut *const nsIURI) -> nsresult
[src]
/**
* The baseURI for the Entry or Feed.
*/
attribute nsIURI baseURI;
pub unsafe fn SetBaseURI(&self, aBaseURI: *const nsIURI) -> nsresult
[src]
/**
* The baseURI for the Entry or Feed.
*/
attribute nsIURI baseURI;
Trait Implementations
impl XpCom for nsIFeedGenerator
[src]
const IID: nsIID
IID: nsIID = nsID(267179371, 48530, 18459, [164, 134, 184, 212, 137, 205, 211, 133])
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 nsIFeedGenerator
[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 nsIFeedGenerator
[src]
type Target = nsIFeedElementBase
The resulting type after dereferencing.
fn deref(&self) -> &nsIFeedElementBase
[src]
Dereferences the value.