Expand description
A reference to a type defined in this module.
Fields
index: Option<Index<'a>>
The type that we’re referencing, if it was present.
inline: Option<T>
The inline type, if present.
Implementations
Trait Implementations
sourceimpl<'a> From<TypeUse<'a, FunctionTypeNoNames<'a>>> for TypeUse<'a, FunctionType<'a>>
impl<'a> From<TypeUse<'a, FunctionTypeNoNames<'a>>> for TypeUse<'a, FunctionType<'a>>
sourcefn from(
src: TypeUse<'a, FunctionTypeNoNames<'a>>
) -> TypeUse<'a, FunctionType<'a>>
fn from(
src: TypeUse<'a, FunctionTypeNoNames<'a>>
) -> TypeUse<'a, FunctionType<'a>>
Performs the conversion.
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for TypeUse<'a, T> where
T: RefUnwindSafe,
impl<'a, T> Send for TypeUse<'a, T> where
T: Send,
impl<'a, T> Sync for TypeUse<'a, T> where
T: Sync,
impl<'a, T> Unpin for TypeUse<'a, T> where
T: Unpin,
impl<'a, T> UnwindSafe for TypeUse<'a, T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more