[−][src]Enum assembly_core::borrow::Oom
An enum that provides a mutable reference by either owning or borrowing a struct (Own or Mutable)
Variants
Own(T)
Mut(&'a mut T)
Trait Implementations
impl<'a, T> From<T> for Oom<'a, T>
[src]
impl<'a, T> From<&'a mut T> for Oom<'a, T>
[src]
impl<'a, T> AsMut<T> for Oom<'a, T>
[src]
impl<'a, T> AsRef<T> for Oom<'a, T>
[src]
impl<'a, T> Borrow<T> for Oom<'a, T>
[src]
impl<'a, T> BorrowMut<T> for Oom<'a, T>
[src]
fn borrow_mut(&mut self) -> &mut T
[src]
Auto Trait Implementations
impl<'a, T> Unpin for Oom<'a, T> where
T: Unpin,
T: Unpin,
impl<'a, T> Sync for Oom<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Send for Oom<'a, T> where
T: Send,
T: Send,
impl<'a, T> RefUnwindSafe for Oom<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T> !UnwindSafe for Oom<'a, T>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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<S> SliceConcat<str> for S where
S: Borrow<str>,
[src]
S: Borrow<str>,
type Output = String
🔬 This is a nightly-only experimental API. (
slice_concat_trait
)The resulting type after concatenation
fn concat(slice: &[S]) -> String
[src]
fn join(slice: &[S], sep: &str) -> String
[src]
impl<T, V> SliceConcat<T> for V where
T: Clone,
V: Borrow<[T]>,
[src]
T: Clone,
V: Borrow<[T]>,
type Output = Vec<T>
🔬 This is a nightly-only experimental API. (
slice_concat_trait
)The resulting type after concatenation
fn concat(slice: &[V]) -> Vec<T>
[src]
fn join(slice: &[V], sep: &T) -> Vec<T>
[src]
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,