pub enum ReferenceType<'a> {
Class(ClassType<'a>),
Variable(&'a str),
Array(Box<ArrayType<'a>>),
}
Expand description
Represents a reference type, ie. a class, an array, or a type variable.
Variants§
Class(ClassType<'a>)
a class type
Variable(&'a str)
a type variable
Array(Box<ArrayType<'a>>)
an array type
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ReferenceType<'a>
impl<'a> RefUnwindSafe for ReferenceType<'a>
impl<'a> Send for ReferenceType<'a>
impl<'a> Sync for ReferenceType<'a>
impl<'a> Unpin for ReferenceType<'a>
impl<'a> UnwindSafe for ReferenceType<'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