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