[−][src]Struct dinotree::bbox::BBoxRefMut
Reference to AABB and Mutable Reference to Inner.
Fields
rect: &'a Rect<N>
inner: &'a mut T
Methods
impl<'a, N: NumTrait, T> BBoxRefMut<'a, N, T>
[src]
pub fn new(rect: &'a Rect<N>, inner: &'a mut T) -> BBoxRefMut<'a, N, T>
[src]
Unsafe since user could create a new BBox with a different aabb inside of a callback function and assign it to the mutable reference.
pub fn as_mut(&mut self) -> BBoxRefMut<N, T>
[src]
pub fn as_ref(&self) -> BBoxRef<N, T>
[src]
Auto Trait Implementations
impl<'a, N, T> Unpin for BBoxRefMut<'a, N, T>
impl<'a, N, T> Sync for BBoxRefMut<'a, N, T> where
T: Sync,
T: Sync,
impl<'a, N, T> Send for BBoxRefMut<'a, N, T> where
T: Send,
T: Send,
impl<'a, N, T> !UnwindSafe for BBoxRefMut<'a, N, T>
impl<'a, N, T> RefUnwindSafe for BBoxRefMut<'a, N, T> where
N: RefUnwindSafe,
T: RefUnwindSafe,
N: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'_ mut Ifn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'_ mut I
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,