pub struct GlobalVariable<T>where
T: TypeSet,{
pub decl_token: Token,
pub identifier: Token,
pub colon: Token,
pub type_token: TypeHint,
pub equals_token: Token,
pub initializer: Expression<T>,
pub semicolon: Token,
}Fields§
§decl_token: Token§identifier: Token§colon: Token§type_token: TypeHint§equals_token: Token§initializer: Expression<T>§semicolon: TokenImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for GlobalVariable<T>
impl<T> RefUnwindSafe for GlobalVariable<T>
impl<T> Send for GlobalVariable<T>
impl<T> Sync for GlobalVariable<T>
impl<T> Unpin for GlobalVariable<T>
impl<T> UnwindSafe for GlobalVariable<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