pub enum IdentifierBase {
False,
Value(u64),
}Variants§
False
Mirrors identifierBase === false in node-semver.
Value(u64)
Any other truthy/falsy value. Only the zero/non-zero nature matters.
Trait Implementations§
Source§impl Clone for IdentifierBase
impl Clone for IdentifierBase
Source§fn clone(&self) -> IdentifierBase
fn clone(&self) -> IdentifierBase
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 IdentifierBase
Source§impl Debug for IdentifierBase
impl Debug for IdentifierBase
Source§impl Default for IdentifierBase
impl Default for IdentifierBase
impl Eq for IdentifierBase
Source§impl From<bool> for IdentifierBase
impl From<bool> for IdentifierBase
Source§impl From<u64> for IdentifierBase
impl From<u64> for IdentifierBase
Source§impl From<usize> for IdentifierBase
impl From<usize> for IdentifierBase
Source§impl PartialEq for IdentifierBase
impl PartialEq for IdentifierBase
Source§fn eq(&self, other: &IdentifierBase) -> bool
fn eq(&self, other: &IdentifierBase) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IdentifierBase
Auto Trait Implementations§
impl Freeze for IdentifierBase
impl RefUnwindSafe for IdentifierBase
impl Send for IdentifierBase
impl Sync for IdentifierBase
impl Unpin for IdentifierBase
impl UnsafeUnpin for IdentifierBase
impl UnwindSafe for IdentifierBase
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