pub struct Alias {
pub to: Sym,
pub from: Option<Box<Ty>>,
}
Expand description
An alias to another Ty
Fields§
§to: Sym
§from: Option<Box<Ty>>
Trait Implementations§
source§impl PartialEq for Alias
impl PartialEq for Alias
impl Eq for Alias
impl StructuralPartialEq for Alias
Auto Trait Implementations§
impl Freeze for Alias
impl RefUnwindSafe for Alias
impl Send for Alias
impl Sync for Alias
impl Unpin for Alias
impl UnwindSafe for Alias
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