#[repr(transparent)]pub struct FixedCStrBuffer<const L: usize>(pub [u8; L]);Tuple Fields§
§0: [u8; L]Implementations§
Source§impl<const L: usize> FixedCStrBuffer<L>
impl<const L: usize> FixedCStrBuffer<L>
pub const fn as_cstr(&self) -> Result<&CStr, FromBytesUntilNulError>
Trait Implementations§
Source§impl<const L: usize> Clone for FixedCStrBuffer<L>
impl<const L: usize> Clone for FixedCStrBuffer<L>
impl<const L: usize> Copy for FixedCStrBuffer<L>
Source§impl<const L: usize> Debug for FixedCStrBuffer<L>
impl<const L: usize> Debug for FixedCStrBuffer<L>
impl<const L: usize> Eq for FixedCStrBuffer<L>
Source§impl<const L: usize> Hash for FixedCStrBuffer<L>
impl<const L: usize> Hash for FixedCStrBuffer<L>
Source§impl<const L: usize> Ord for FixedCStrBuffer<L>
impl<const L: usize> Ord for FixedCStrBuffer<L>
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl<const L: usize> PartialEq for FixedCStrBuffer<L>
impl<const L: usize> PartialEq for FixedCStrBuffer<L>
Source§impl<const L: usize> PartialOrd for FixedCStrBuffer<L>
impl<const L: usize> PartialOrd for FixedCStrBuffer<L>
impl<const L: usize> StructuralPartialEq for FixedCStrBuffer<L>
Auto Trait Implementations§
impl<const L: usize> Freeze for FixedCStrBuffer<L>
impl<const L: usize> RefUnwindSafe for FixedCStrBuffer<L>
impl<const L: usize> Send for FixedCStrBuffer<L>
impl<const L: usize> Sync for FixedCStrBuffer<L>
impl<const L: usize> Unpin for FixedCStrBuffer<L>
impl<const L: usize> UnsafeUnpin for FixedCStrBuffer<L>
impl<const L: usize> UnwindSafe for FixedCStrBuffer<L>
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