pub struct ActivatorCollection { /* private fields */ }Implementations§
Source§impl ActivatorCollection
impl ActivatorCollection
pub fn generation(&self) -> u64
pub fn declared(&self) -> bool
pub fn items(&self) -> &[ShellActivator]
pub fn replace(&mut self, items: Vec<ShellActivator>) -> ShellResult<()>
pub fn update( &mut self, id: &str, patch: ShellActivatorUpdate, ) -> ShellResult<()>
pub fn remove(&mut self, id: &str) -> ShellResult<()>
pub fn clear(&mut self)
Trait Implementations§
Source§impl Clone for ActivatorCollection
impl Clone for ActivatorCollection
Source§fn clone(&self) -> ActivatorCollection
fn clone(&self) -> ActivatorCollection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActivatorCollection
impl Debug for ActivatorCollection
Source§impl Default for ActivatorCollection
impl Default for ActivatorCollection
Source§fn default() -> ActivatorCollection
fn default() -> ActivatorCollection
Returns the “default value” for a type. Read more
impl Eq for ActivatorCollection
Source§impl PartialEq for ActivatorCollection
impl PartialEq for ActivatorCollection
impl StructuralPartialEq for ActivatorCollection
Auto Trait Implementations§
impl Freeze for ActivatorCollection
impl RefUnwindSafe for ActivatorCollection
impl Send for ActivatorCollection
impl Sync for ActivatorCollection
impl Unpin for ActivatorCollection
impl UnsafeUnpin for ActivatorCollection
impl UnwindSafe for ActivatorCollection
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