pub struct Variable {
pub ident: Ident,
pub modifier: DeclModifier,
pub ty: Option<TypeElement>,
pub ownership: Ownership,
}Fields§
§ident: Ident§modifier: DeclModifier§ty: Option<TypeElement>If the variable type cannot be identified, this is None and type inference will be delegated to Rust
ownership: OwnershipImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Variable
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnwindSafe for Variable
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