pub struct StringField<const CAP: usize>(/* private fields */);
Implementations§
Trait Implementations§
Source§impl<const CAP: usize> Clone for StringField<CAP>
impl<const CAP: usize> Clone for StringField<CAP>
Source§fn clone(&self) -> StringField<CAP>
fn clone(&self) -> StringField<CAP>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<const CAP: usize> Debug for StringField<CAP>
impl<const CAP: usize> Debug for StringField<CAP>
Source§impl<const CAP: usize> PartialEq for StringField<CAP>
impl<const CAP: usize> PartialEq for StringField<CAP>
Source§impl<const CAP: usize> TryFrom<&str> for StringField<CAP>
impl<const CAP: usize> TryFrom<&str> for StringField<CAP>
Source§type Error = TooManyItemsError
type Error = TooManyItemsError
The type returned in the event of a conversion error.
Source§fn try_from(value: &str) -> Result<StringField<CAP>, TooManyItemsError>
fn try_from(value: &str) -> Result<StringField<CAP>, TooManyItemsError>
Performs the conversion.
impl<const CAP: usize> Copy for StringField<CAP>
impl<const CAP: usize> Eq for StringField<CAP>
impl<const CAP: usize> StructuralPartialEq for StringField<CAP>
Auto Trait Implementations§
impl<const CAP: usize> Freeze for StringField<CAP>
impl<const CAP: usize> RefUnwindSafe for StringField<CAP>
impl<const CAP: usize> Send for StringField<CAP>
impl<const CAP: usize> Sync for StringField<CAP>
impl<const CAP: usize> Unpin for StringField<CAP>
impl<const CAP: usize> UnwindSafe for StringField<CAP>
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