#[repr(i32)]pub enum ValueContext {
LValue = 0,
RValue = 1,
}Variants§
Trait Implementations§
Source§impl Clone for ValueContext
impl Clone for ValueContext
Source§fn clone(&self) -> ValueContext
fn clone(&self) -> ValueContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ValueContext
Source§impl Debug for ValueContext
impl Debug for ValueContext
impl Eq for ValueContext
Source§impl Hash for ValueContext
impl Hash for ValueContext
Source§impl PartialEq for ValueContext
impl PartialEq for ValueContext
Source§fn eq(&self, other: &ValueContext) -> bool
fn eq(&self, other: &ValueContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ValueContext
Auto Trait Implementations§
impl Freeze for ValueContext
impl RefUnwindSafe for ValueContext
impl Send for ValueContext
impl Sync for ValueContext
impl Unpin for ValueContext
impl UnsafeUnpin for ValueContext
impl UnwindSafe for ValueContext
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