pub struct FeatureName(/* private fields */);Expand description
A non-empty feature name.
Implementations§
Source§impl FeatureName
impl FeatureName
Trait Implementations§
Source§impl Clone for FeatureName
impl Clone for FeatureName
Source§fn clone(&self) -> FeatureName
fn clone(&self) -> FeatureName
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 moreSource§impl Debug for FeatureName
impl Debug for FeatureName
Source§impl Display for FeatureName
impl Display for FeatureName
Source§impl FromStr for FeatureName
impl FromStr for FeatureName
Source§impl Hash for FeatureName
impl Hash for FeatureName
Source§impl Ord for FeatureName
impl Ord for FeatureName
Source§fn cmp(&self, other: &FeatureName) -> Ordering
fn cmp(&self, other: &FeatureName) -> 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 FeatureName
impl PartialEq for FeatureName
Source§fn eq(&self, other: &FeatureName) -> bool
fn eq(&self, other: &FeatureName) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for FeatureName
impl PartialOrd for FeatureName
impl Eq for FeatureName
impl StructuralPartialEq for FeatureName
Auto Trait Implementations§
impl Freeze for FeatureName
impl RefUnwindSafe for FeatureName
impl Send for FeatureName
impl Sync for FeatureName
impl Unpin for FeatureName
impl UnsafeUnpin for FeatureName
impl UnwindSafe for FeatureName
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