pub struct Ifdef {
pub _hyphen: SymbolToken,
pub _ifdef: AtomToken,
pub _open_paren: SymbolToken,
pub name: MacroName,
pub _close_paren: SymbolToken,
pub _dot: SymbolToken,
}Expand description
ifdef directive.
See 9.5 Flow Control in Macros for detailed information.
Fields§
§_hyphen: SymbolToken§_ifdef: AtomToken§_open_paren: SymbolToken§name: MacroName§_close_paren: SymbolToken§_dot: SymbolTokenTrait Implementations§
Source§impl PositionRange for Ifdef
impl PositionRange for Ifdef
Source§fn start_position(&self) -> Position
fn start_position(&self) -> Position
Returns the (inclusive) start position of this.
Source§fn end_position(&self) -> Position
fn end_position(&self) -> Position
Returns the (exclusive) end position of this.
Auto Trait Implementations§
impl Freeze for Ifdef
impl RefUnwindSafe for Ifdef
impl Send for Ifdef
impl Sync for Ifdef
impl Unpin for Ifdef
impl UnwindSafe for Ifdef
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