pub struct TypeAlias<'a> {
pub name: Name<'a>,
pub value: Box<Expression<'a>>,
pub type_parameters: Option<TypeParameters<'a>>,
pub whitespace_after_type: SimpleWhitespace<'a>,
pub whitespace_after_name: Option<SimpleWhitespace<'a>>,
pub whitespace_after_type_parameters: Option<SimpleWhitespace<'a>>,
pub whitespace_after_equals: SimpleWhitespace<'a>,
pub semicolon: Option<Semicolon<'a>>,
}
Fields§
§name: Name<'a>
§value: Box<Expression<'a>>
§type_parameters: Option<TypeParameters<'a>>
§whitespace_after_type: SimpleWhitespace<'a>
§whitespace_after_name: Option<SimpleWhitespace<'a>>
§whitespace_after_type_parameters: Option<SimpleWhitespace<'a>>
§whitespace_after_equals: SimpleWhitespace<'a>
§semicolon: Option<Semicolon<'a>>
Trait Implementations§
impl<'a> Eq for TypeAlias<'a>
impl<'a> StructuralPartialEq for TypeAlias<'a>
Auto Trait Implementations§
impl<'a> Freeze for TypeAlias<'a>
impl<'a> RefUnwindSafe for TypeAlias<'a>
impl<'a> Send for TypeAlias<'a>
impl<'a> Sync for TypeAlias<'a>
impl<'a> Unpin for TypeAlias<'a>
impl<'a> UnwindSafe for TypeAlias<'a>
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