Struct core::net::display_buffer::DisplayBuffer
source · pub struct DisplayBuffer<const SIZE: usize> {
buf: [MaybeUninit<u8>; SIZE],
len: usize,
}
🔬This is a nightly-only experimental API. (
ip_in_core
#108443)Expand description
Used for slow path in Display
implementations when alignment is required.
Fields§
§buf: [MaybeUninit<u8>; SIZE]
🔬This is a nightly-only experimental API. (
§ip_in_core
#108443)len: usize
🔬This is a nightly-only experimental API. (
ip_in_core
#108443)Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<const SIZE: usize> Freeze for DisplayBuffer<SIZE>
impl<const SIZE: usize> RefUnwindSafe for DisplayBuffer<SIZE>
impl<const SIZE: usize> Send for DisplayBuffer<SIZE>
impl<const SIZE: usize> Sync for DisplayBuffer<SIZE>
impl<const SIZE: usize> Unpin for DisplayBuffer<SIZE>
impl<const SIZE: usize> UnwindSafe for DisplayBuffer<SIZE>
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