pub enum VariableAttribute {
Static,
Constant,
ReadOnly,
RawString,
HasObjectId,
CanHaveObjectId,
HasSideEffects,
HasDataBreakpoint,
}
Variants§
Static
Indicates that the object is static.
Constant
Indicates that the object is a constant.
ReadOnly
Indicates that the object is read only.
RawString
Indicates that the object is a raw string.
HasObjectId
Indicates that the object can have an Object ID created for it.
CanHaveObjectId
Indicates that the object has an Object ID associated with it.
HasSideEffects
Indicates that the evaluation had side effects.
HasDataBreakpoint
Indicates that the object has its value tracked by a data breakpoint.
Trait Implementations§
Source§impl Clone for VariableAttribute
impl Clone for VariableAttribute
Source§fn clone(&self) -> VariableAttribute
fn clone(&self) -> VariableAttribute
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VariableAttribute
impl Debug for VariableAttribute
Source§impl<'de> Deserialize<'de> for VariableAttribute
impl<'de> Deserialize<'de> for VariableAttribute
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VariableAttribute
impl PartialEq for VariableAttribute
Source§impl Serialize for VariableAttribute
impl Serialize for VariableAttribute
impl Eq for VariableAttribute
impl StructuralPartialEq for VariableAttribute
Auto Trait Implementations§
impl Freeze for VariableAttribute
impl RefUnwindSafe for VariableAttribute
impl Send for VariableAttribute
impl Sync for VariableAttribute
impl Unpin for VariableAttribute
impl UnwindSafe for VariableAttribute
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.