pub struct StructLiteralField<T>where
T: TypeSet,{
pub name: Token,
pub colon: Token,
pub value: RightHandExpression<T>,
}Expand description
A single field: expr initializer in a struct literal.
Fields§
§name: Token§colon: Token§value: RightHandExpression<T>Trait Implementations§
Source§impl<T> Clone for StructLiteralField<T>where
T: TypeSet,
impl<T> Clone for StructLiteralField<T>where
T: TypeSet,
Auto Trait Implementations§
impl<T> Freeze for StructLiteralField<T>
impl<T> RefUnwindSafe for StructLiteralField<T>
impl<T> Send for StructLiteralField<T>
impl<T> Sync for StructLiteralField<T>
impl<T> Unpin for StructLiteralField<T>
impl<T> UnsafeUnpin for StructLiteralField<T>
impl<T> UnwindSafe for StructLiteralField<T>
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