Trait spacegate_kernel::extension::ExtensionPack
source · pub trait ExtensionPack: Sized {
// Provided methods
fn insert(self, ext: &mut Extensions) -> Option<Self>
where Self: Clone + Send + Sync + 'static { ... }
fn get(ext: &Extensions) -> Option<&Self>
where Self: Send + Sync + 'static { ... }
fn get_mut(ext: &mut Extensions) -> Option<&mut Self>
where Self: Send + Sync + 'static { ... }
fn remove(ext: &mut Extensions) -> Option<Self>
where Self: Send + Sync + 'static { ... }
}Provided Methods§
fn insert(self, ext: &mut Extensions) -> Option<Self>
fn get(ext: &Extensions) -> Option<&Self>
fn get_mut(ext: &mut Extensions) -> Option<&mut Self>
fn remove(ext: &mut Extensions) -> Option<Self>
Object Safety§
This trait is not object safe.