pub struct NemoModule { /* private fields */ }
Implementations§
Source§impl NemoModule
impl NemoModule
pub fn new<S: Into<Cow<'static, str>>>( module: *mut GTypeModule, name: S, ) -> NemoModule
pub fn add_column_provider<'a, T: ColumnProvider + 'static>( &'a mut self, column_provider: T, ) -> &'a mut NemoModule
pub fn add_info_provider<'a, T: InfoProvider + 'static>( &'a mut self, info_provider: T, ) -> &'a mut NemoModule
pub fn add_property_page_provider<'a, T: PropertyPageProvider + 'static>( &'a mut self, property_page_provider: T, ) -> &'a mut NemoModule
pub fn register(&self) -> GType
Auto Trait Implementations§
impl Freeze for NemoModule
impl RefUnwindSafe for NemoModule
impl !Send for NemoModule
impl !Sync for NemoModule
impl Unpin for NemoModule
impl UnwindSafe for NemoModule
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