pub struct ComLibrary {
pub name: String,
pub libid: GUID,
pub on_load: Option<Path>,
pub on_register: Option<Path>,
pub on_unregister: Option<Path>,
pub coclasses: Vec<Path>,
pub interfaces: Vec<Path>,
pub submodules: Vec<Path>,
}
Expand description
COM library details derived from the com_library
attribute.
Fields§
§name: String
§libid: GUID
§on_load: Option<Path>
§on_register: Option<Path>
§on_unregister: Option<Path>
§coclasses: Vec<Path>
§interfaces: Vec<Path>
§submodules: Vec<Path>
Implementations§
Source§impl ComLibrary
impl ComLibrary
Sourcepub fn parse(
crate_name: &str,
attr_params: TokenStream,
) -> ParseResult<ComLibrary>
pub fn parse( crate_name: &str, attr_params: TokenStream, ) -> ParseResult<ComLibrary>
Parses a [com_library] attribute.
Trait Implementations§
Source§impl Debug for ComLibrary
impl Debug for ComLibrary
Source§impl PartialEq for ComLibrary
impl PartialEq for ComLibrary
impl Eq for ComLibrary
impl StructuralPartialEq for ComLibrary
Auto Trait Implementations§
impl Freeze for ComLibrary
impl RefUnwindSafe for ComLibrary
impl !Send for ComLibrary
impl !Sync for ComLibrary
impl Unpin for ComLibrary
impl UnwindSafe for ComLibrary
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.