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§impl Debug for SidebarActionCollection
impl Debug for SidebarActionCollection
Source§impl Default for SidebarActionCollection
impl Default for SidebarActionCollection
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