[−][src]Struct com_macros_support::Class
Fields
name: Identhas_class_factory: booldocs: Vec<Attribute>visibility: Visibilityinterfaces: Vec<Interface>methods: HashMap<Path, Vec<ImplItemMethod>>fields: Vec<Field>impl_debug: boolImplementations
impl Class[src]
pub fn to_tokens(&self) -> TokenStream[src]
pub fn to_struct_tokens(&self) -> TokenStream[src]
The COM class object struct and impl
Structure of the object:
pub struct ClassName { // ..interface vpointers.. // ..ref count.. // ..user defined fields.. }
pub fn to_class_trait_impl_tokens(&self) -> TokenStream[src]
Trait Implementations
impl Debug for Class[src]
impl Parse for Class[src]
fn parse(input: ParseStream<'_>) -> Result<Self>[src]
Auto Trait Implementations
impl RefUnwindSafe for Class[src]
impl !Send for Class[src]
impl !Sync for Class[src]
impl Unpin for Class[src]
impl UnwindSafe for Class[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,