pub enum SidebarRow {
Dir {
name: String,
depth: usize,
},
File {
index: usize,
name: String,
depth: usize,
},
}Expand description
One sidebar row in tree form (zed-lite: always-expanded, directory rows dim and shallow, files indented by depth).
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SidebarRow
impl RefUnwindSafe for SidebarRow
impl Send for SidebarRow
impl Sync for SidebarRow
impl Unpin for SidebarRow
impl UnsafeUnpin for SidebarRow
impl UnwindSafe for SidebarRow
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