Struct tar_no_std::StaticCString
source · [−]#[repr(transparent)]pub struct StaticCString<const N: usize>(_);Expand description
A C-String that is stored in a static array. All unused chars must be a NULL-byte.
Implementations
Trait Implementations
sourceimpl<const N: usize> Clone for StaticCString<N>
impl<const N: usize> Clone for StaticCString<N>
sourcefn clone(&self) -> StaticCString<N>
fn clone(&self) -> StaticCString<N>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<const N: usize> Debug for StaticCString<N>
impl<const N: usize> Debug for StaticCString<N>
impl<const N: usize> Copy for StaticCString<N>
Auto Trait Implementations
impl<const N: usize> RefUnwindSafe for StaticCString<N>
impl<const N: usize> Send for StaticCString<N>
impl<const N: usize> Sync for StaticCString<N>
impl<const N: usize> Unpin for StaticCString<N>
impl<const N: usize> UnwindSafe for StaticCString<N>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more