pub struct Static<const A: usize>;Expand description
Address known on compile time.
This is a zero-sized type; structures with Static<A> as
parameter would not take additional memory space.
Trait Implementations§
Source§impl<const A: usize> BaseAddress for Static<A>
impl<const A: usize> BaseAddress for Static<A>
impl<const A: usize> Eq for Static<A>
impl<const A: usize> StructuralPartialEq for Static<A>
Auto Trait Implementations§
impl<const A: usize> Freeze for Static<A>
impl<const A: usize> RefUnwindSafe for Static<A>
impl<const A: usize> Send for Static<A>
impl<const A: usize> Sync for Static<A>
impl<const A: usize> Unpin for Static<A>
impl<const A: usize> UnwindSafe for Static<A>
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