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. There is always a terminating NULL-byte.
The content is likely to be UTF-8/ASCII, but that is not verified by this type.
Implementations§
source§impl<const N: usize> StaticCString<N>
impl<const N: usize> StaticCString<N>
Trait Implementations§
source§impl<const N: usize> Clone for StaticCString<N>
impl<const N: usize> Clone for StaticCString<N>
source§fn clone(&self) -> StaticCString<N>
fn clone(&self) -> StaticCString<N>
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 more