pub enum PragmaValue {
None,
Value(ExprId),
Name(NameId),
}Expand description
A PRAGMA argument.
Variants§
None
Nothing was written.
Value(ExprId)
= value or (value).
Name(NameId)
(name), which is a bare word rather than an expression.
Trait Implementations§
Source§impl Clone for PragmaValue
impl Clone for PragmaValue
Source§impl Debug for PragmaValue
impl Debug for PragmaValue
impl Eq for PragmaValue
Source§impl PartialEq for PragmaValue
impl PartialEq for PragmaValue
impl StructuralPartialEq for PragmaValue
Auto Trait Implementations§
impl Freeze for PragmaValue
impl RefUnwindSafe for PragmaValue
impl Send for PragmaValue
impl Sync for PragmaValue
impl Unpin for PragmaValue
impl UnsafeUnpin for PragmaValue
impl UnwindSafe for PragmaValue
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