[−][src]Struct reffers::Bxm
A simple wrapper around Box to avoid DerefMove. Like Bx, but also allows mutable access to the interior of the box.
Note that this will allow callers to use e g mem::swap
and
mem::replace
to move the box's contents to other memory
locations.
Methods
impl<T> Bxm<T>
[src]
Trait Implementations
impl<T: ?Sized> AReffic for Bxm<T>
[src]
impl<T: ?Sized> From<Box<T>> for Bxm<T>
[src]
impl<T: Eq + ?Sized> Eq for Bxm<T>
[src]
impl<T: Ord + ?Sized> Ord for Bxm<T>
[src]
fn cmp(&self, other: &Bxm<T>) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<T: PartialEq + ?Sized> PartialEq<Bxm<T>> for Bxm<T>
[src]
impl<T: PartialOrd + ?Sized> PartialOrd<Bxm<T>> for Bxm<T>
[src]
fn partial_cmp(&self, other: &Bxm<T>) -> Option<Ordering>
[src]
fn lt(&self, other: &Bxm<T>) -> bool
[src]
fn le(&self, other: &Bxm<T>) -> bool
[src]
fn gt(&self, other: &Bxm<T>) -> bool
[src]
fn ge(&self, other: &Bxm<T>) -> bool
[src]
impl<T: Debug + ?Sized> Debug for Bxm<T>
[src]
impl<T: ?Sized> Deref for Bxm<T>
[src]
impl<T: ?Sized> DerefMut for Bxm<T>
[src]
impl<T: Hash + ?Sized> Hash for Bxm<T>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T: ?Sized> StructuralPartialEq for Bxm<T>
[src]
impl<T: ?Sized> StructuralEq for Bxm<T>
[src]
impl<T: ?Sized> StableDeref for Bxm<T>
[src]
Auto Trait Implementations
impl<T: ?Sized> Send for Bxm<T> where
T: Send,
T: Send,
impl<T: ?Sized> Sync for Bxm<T> where
T: Sync,
T: Sync,
impl<T: ?Sized> Unpin for Bxm<T>
impl<T: ?Sized> UnwindSafe for Bxm<T> where
T: UnwindSafe,
T: UnwindSafe,
impl<T: ?Sized> RefUnwindSafe for Bxm<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> Repr for T
[src]
type Store = T
fn convert(*mut T) -> *mut T
[src]
unsafe fn deallocate_mem<M>(&mut UnsafeCell<RCell<<T as Repr>::Store, M>>) where
M: BitMask,
[src]
M: BitMask,
impl<T> Repr for T
[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> 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> 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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,