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 T
Implementations§
Trait Implementations§
impl<'a, N, T> ManySwap for BBoxMut<'a, N, T>
Auto Trait Implementations§
impl<'a, N, T> RefUnwindSafe for BBoxMut<'a, N, T>where N: RefUnwindSafe, T: RefUnwindSafe,
impl<'a, N, T> Send for BBoxMut<'a, N, T>where N: Send, T: Send,
impl<'a, N, T> Sync for BBoxMut<'a, N, T>where N: Sync, T: Sync,
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