pub enum GeneratedNameKind {
Cell,
Dir,
}Expand description
Generated-name counter families are scoped per parent directory.
Variants§
Trait Implementations§
Source§impl Clone for GeneratedNameKind
impl Clone for GeneratedNameKind
Source§fn clone(&self) -> GeneratedNameKind
fn clone(&self) -> GeneratedNameKind
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 GeneratedNameKind
Source§impl Debug for GeneratedNameKind
impl Debug for GeneratedNameKind
impl Eq for GeneratedNameKind
Source§impl Hash for GeneratedNameKind
impl Hash for GeneratedNameKind
Source§impl Ord for GeneratedNameKind
impl Ord for GeneratedNameKind
Source§fn cmp(&self, other: &GeneratedNameKind) -> Ordering
fn cmp(&self, other: &GeneratedNameKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GeneratedNameKind
impl PartialEq for GeneratedNameKind
Source§impl PartialOrd for GeneratedNameKind
impl PartialOrd for GeneratedNameKind
impl StructuralPartialEq for GeneratedNameKind
Auto Trait Implementations§
impl Freeze for GeneratedNameKind
impl RefUnwindSafe for GeneratedNameKind
impl Send for GeneratedNameKind
impl Sync for GeneratedNameKind
impl Unpin for GeneratedNameKind
impl UnsafeUnpin for GeneratedNameKind
impl UnwindSafe for GeneratedNameKind
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