pub struct TypeAliasInfo {
pub name: &'static str,
pub module: &'static str,
pub type: fn() -> TypeInfo,
pub doc: &'static str,
}Fields§
§name: &'static str§module: &'static str§type: fn() -> TypeInfo§doc: &'static strTrait Implementations§
Source§impl Debug for TypeAliasInfo
impl Debug for TypeAliasInfo
Source§impl From<&TypeAliasInfo> for TypeAliasDef
impl From<&TypeAliasInfo> for TypeAliasDef
Source§fn from(info: &TypeAliasInfo) -> Self
fn from(info: &TypeAliasInfo) -> Self
Converts to this type from the input type.
impl Collect for TypeAliasInfo
Auto Trait Implementations§
impl Freeze for TypeAliasInfo
impl RefUnwindSafe for TypeAliasInfo
impl Send for TypeAliasInfo
impl Sync for TypeAliasInfo
impl Unpin for TypeAliasInfo
impl UnwindSafe for TypeAliasInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more