Expand description
An Rc which has mutable access to the inner value. Only
one RefMut can exist, and cannot coexist with any Ref.
Creates a new reference from a str.
Creates a new slice reference from an iterator.
Returns a new Weak reference, or panics if there are no such references available
Returns a new Strong reference, or panics if there are no such references available
Returns a new Weak reference, or returns an error if there are no such references available
Returns a new Strong reference, or returns an error if there are no such references available
Returns the current state
Reverts poisoning
Poisoning happens when a RefMut is dropped during a panic.
Immutably borrows from an owned value. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
The resulting type after dereferencing.
Mutably dereferences the value.
Formats the value using the given formatter. Read more
Executes the destructor for this type. 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
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>,
Converts the given value to a String
. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.