Struct compile_fmt::CompileArgs
source · pub struct CompileArgs<const CAP: usize> { /* private fields */ }
Expand description
Formatted string returned by the compile_args!
macro, similar to Arguments
.
The type parameter specifies the compile-time upper boundary of the formatted string length in bytes. It is not necessarily equal to the actual byte length of the formatted string.
Implementations§
Trait Implementations§
source§impl<const CAP: usize> Debug for CompileArgs<CAP>
impl<const CAP: usize> Debug for CompileArgs<CAP>
source§impl<const CAP: usize> Display for CompileArgs<CAP>
impl<const CAP: usize> Display for CompileArgs<CAP>
source§impl<const CAP: usize> FormatArgument for &CompileArgs<CAP>
impl<const CAP: usize> FormatArgument for &CompileArgs<CAP>
source§impl<const CAP: usize> MaxLength for &CompileArgs<CAP>
impl<const CAP: usize> MaxLength for &CompileArgs<CAP>
source§const MAX_LENGTH: StrLength = _
const MAX_LENGTH: StrLength = _
Upper boundary for the formatted length in bytes and chars.
Auto Trait Implementations§
impl<const CAP: usize> RefUnwindSafe for CompileArgs<CAP>
impl<const CAP: usize> Send for CompileArgs<CAP>
impl<const CAP: usize> Sync for CompileArgs<CAP>
impl<const CAP: usize> Unpin for CompileArgs<CAP>
impl<const CAP: usize> UnwindSafe for CompileArgs<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