pub struct Enumerator {
pub name: InternedStr,
pub value: Option<Box<Expr>>,
pub loc: SourceLocation,
}Expand description
列挙子
Fields§
§name: InternedStr§value: Option<Box<Expr>>§loc: SourceLocationTrait 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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Enumerator
impl RefUnwindSafe for Enumerator
impl Send for Enumerator
impl Sync for Enumerator
impl Unpin for Enumerator
impl UnsafeUnpin 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