pub struct Type<T> {
pub prompt: String,
pub type: TypeEnum,
pub symbol: String,
pub value: T,
}
Fields§
§prompt: String
§type: TypeEnum
§symbol: String
§value: T
Trait Implementations§
impl<T> StructuralPartialEq for Type<T>
Auto Trait Implementations§
impl<T> Freeze for Type<T>where
T: Freeze,
impl<T> RefUnwindSafe for Type<T>where
T: RefUnwindSafe,
impl<T> Send for Type<T>where
T: Send,
impl<T> Sync for Type<T>where
T: Sync,
impl<T> Unpin for Type<T>where
T: Unpin,
impl<T> UnwindSafe for Type<T>where
T: UnwindSafe,
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