pub struct BBoxMut<'a, N, T> {
pub rect: Rect<N>,
pub inner: &'a mut T,
}Expand description
BBox with a reference.
Similar to BBox<N,&mut T> except
get_inner_mut() doesnt return a &mut &mut T
but instead just a &mut T.
Fields§
§rect: Rect<N>§inner: &'a mut TImplementations§
Trait Implementations§
impl<'a, N, T> ManySwap for BBoxMut<'a, N, T>
Auto Trait Implementations§
impl<'a, N, T> Freeze for BBoxMut<'a, N, T>where
N: Freeze,
impl<'a, N, T> RefUnwindSafe for BBoxMut<'a, N, T>where
T: RefUnwindSafe,
N: RefUnwindSafe,
impl<'a, N, T> Send for BBoxMut<'a, N, T>
impl<'a, N, T> Sync for BBoxMut<'a, N, T>
impl<'a, N, T> Unpin for BBoxMut<'a, N, T>where
N: Unpin,
impl<'a, N, T> !UnwindSafe for BBoxMut<'a, N, T>
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