pub struct Var { /* private fields */ }Expand description
A name with an associated Rust type.
Trait Implementations§
Source§impl Expression for Var
impl Expression for Var
Source§fn write(&self, b: &mut CodeBuffer)
fn write(&self, b: &mut CodeBuffer)
Writes the code to the buffer
b.Source§impl Ord for Var
impl Ord for Var
Source§impl PartialOrd for Var
impl PartialOrd for Var
Source§impl WithName for Var
impl WithName for Var
Source§fn write_name(&self, b: &mut CodeBuffer)
fn write_name(&self, b: &mut CodeBuffer)
Writes the name.
Source§impl WithRustType for Var
impl WithRustType for Var
Source§fn write_rust_type(&self, b: &mut CodeBuffer)
fn write_rust_type(&self, b: &mut CodeBuffer)
Writes the Rust type.
impl Eq for Var
impl StructuralPartialEq for Var
Auto Trait Implementations§
impl Freeze for Var
impl RefUnwindSafe for Var
impl Send for Var
impl Sync for Var
impl Unpin for Var
impl UnwindSafe for Var
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