pub enum BrowseNodeKind {
Branch,
Item,
BranchAndItem,
}Expand description
Kinds of nodes returned by a native browse.
Variants§
Branch
A branch that can have children but is not itself an item.
Item
An item that has no browsable children.
BranchAndItem
A node that is both an item and a branch.
Implementations§
Trait Implementations§
Source§impl Clone for BrowseNodeKind
impl Clone for BrowseNodeKind
Source§fn clone(&self) -> BrowseNodeKind
fn clone(&self) -> BrowseNodeKind
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 moreimpl Copy for BrowseNodeKind
Source§impl Debug for BrowseNodeKind
impl Debug for BrowseNodeKind
impl Eq for BrowseNodeKind
Source§impl PartialEq for BrowseNodeKind
impl PartialEq for BrowseNodeKind
impl StructuralPartialEq for BrowseNodeKind
Auto Trait Implementations§
impl Freeze for BrowseNodeKind
impl RefUnwindSafe for BrowseNodeKind
impl Send for BrowseNodeKind
impl Sync for BrowseNodeKind
impl Unpin for BrowseNodeKind
impl UnsafeUnpin for BrowseNodeKind
impl UnwindSafe for BrowseNodeKind
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