pub struct DeclareImmutable {
pub variable: Variable,
pub value: Expression,
pub location: Location,
}
Expand description
A let
statement that declares a new immutable variable
Fields§
§variable: Variable
§value: Expression
§location: Location
Trait Implementations§
Source§impl Debug for DeclareImmutable
impl Debug for DeclareImmutable
Source§impl Display for DeclareImmutable
impl Display for DeclareImmutable
Source§impl From<DeclareImmutable> for Statement
impl From<DeclareImmutable> for Statement
Source§fn from(statement: DeclareImmutable) -> Statement
fn from(statement: DeclareImmutable) -> Statement
Converts to this type from the input type.
Source§impl PartialEq for DeclareImmutable
impl PartialEq for DeclareImmutable
impl Eq for DeclareImmutable
impl StructuralPartialEq for DeclareImmutable
Auto Trait Implementations§
impl Freeze for DeclareImmutable
impl RefUnwindSafe for DeclareImmutable
impl Send for DeclareImmutable
impl Sync for DeclareImmutable
impl Unpin for DeclareImmutable
impl UnwindSafe for DeclareImmutable
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