pub struct Static<const SIZE: usize>;Expand description
The static size marker type.
Trait Implementations§
impl<const SIZE: usize> Copy for Static<SIZE>
impl<const SIZE: usize> Eq for Static<SIZE>
impl<const SIZE: usize> StructuralPartialEq for Static<SIZE>
Auto Trait Implementations§
impl<const SIZE: usize> Freeze for Static<SIZE>
impl<const SIZE: usize> RefUnwindSafe for Static<SIZE>
impl<const SIZE: usize> Send for Static<SIZE>
impl<const SIZE: usize> Sync for Static<SIZE>
impl<const SIZE: usize> Unpin for Static<SIZE>
impl<const SIZE: usize> UnwindSafe for Static<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