pub enum TripletVar {
Var(i32),
Const(bool),
}
Expand description
Represents a variable or constant in triplet form
Variants§
Trait Implementations§
Source§impl Clone for TripletVar
impl Clone for TripletVar
Source§fn clone(&self) -> TripletVar
fn clone(&self) -> TripletVar
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TripletVar
impl Debug for TripletVar
Source§impl Hash for TripletVar
impl Hash for TripletVar
Source§impl PartialEq for TripletVar
impl PartialEq for TripletVar
impl Eq for TripletVar
impl StructuralPartialEq for TripletVar
Auto Trait Implementations§
impl Freeze for TripletVar
impl RefUnwindSafe for TripletVar
impl Send for TripletVar
impl Sync for TripletVar
impl Unpin for TripletVar
impl UnwindSafe for TripletVar
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