pub struct RMut<'a, T: ?Sized> { /* fields omitted */ }
Expand description
A GcSafe
version of &mut T
This lets you store non-'static
mutable references inside a Gc
!
Create a new RMut
backed by a reference
Formats the value using the given formatter. Read more
The resulting type after dereferencing.
Mutably dereferences the value.
Do cleanup on this data, potentially leaving it in an invalid state.
(See trait documentation for the rules for implementing this method.) Read more
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
Restrict a value to a certain interval. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
scan
should use the scanner to scan all of its directly owned data
A guard object containing the value and keeping it alive. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.