pub struct Enumerator {
pub identifier: String,
pub constant_expression: Option<Expression>,
pub span: Range<usize>,
}Expand description
Enumerator
Fields§
§identifier: String§constant_expression: Option<Expression>§span: Range<usize>Trait Implementations§
Source§impl Clone for Enumerator
impl Clone for Enumerator
Source§fn clone(&self) -> Enumerator
fn clone(&self) -> Enumerator
Returns a duplicate 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 Enumerator
impl Debug for Enumerator
Source§impl<'de> Deserialize<'de> for Enumerator
impl<'de> Deserialize<'de> for Enumerator
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 Enumerator
impl PartialEq for Enumerator
Source§impl Serialize for Enumerator
impl Serialize for Enumerator
impl StructuralPartialEq for Enumerator
Auto Trait Implementations§
impl Freeze for Enumerator
impl RefUnwindSafe for Enumerator
impl Send for Enumerator
impl Sync for Enumerator
impl Unpin for Enumerator
impl UnwindSafe for Enumerator
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