pub struct SidebarActionCollection { /* private fields */ }Implementations§
Source§impl SidebarActionCollection
impl SidebarActionCollection
pub fn generation(&self) -> u64
pub fn declared(&self) -> bool
pub fn items(&self) -> &[ShellSidebarAction]
pub fn replace(&mut self, items: Vec<ShellSidebarAction>) -> ShellResult<()>
pub fn update( &mut self, id: &str, patch: ShellSidebarActionUpdate, ) -> ShellResult<()>
pub fn remove(&mut self, id: &str) -> ShellResult<()>
pub fn clear(&mut self)
Trait Implementations§
Source§impl Clone for SidebarActionCollection
impl Clone for SidebarActionCollection
Source§fn clone(&self) -> SidebarActionCollection
fn clone(&self) -> SidebarActionCollection
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 SidebarActionCollection
impl Debug for SidebarActionCollection
Source§impl Default for SidebarActionCollection
impl Default for SidebarActionCollection
Source§fn default() -> SidebarActionCollection
fn default() -> SidebarActionCollection
Returns the “default value” for a type. Read more
impl Eq for SidebarActionCollection
Source§impl PartialEq for SidebarActionCollection
impl PartialEq for SidebarActionCollection
impl StructuralPartialEq for SidebarActionCollection
Auto Trait Implementations§
impl Freeze for SidebarActionCollection
impl RefUnwindSafe for SidebarActionCollection
impl Send for SidebarActionCollection
impl Sync for SidebarActionCollection
impl Unpin for SidebarActionCollection
impl UnsafeUnpin for SidebarActionCollection
impl UnwindSafe for SidebarActionCollection
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