pub struct FunctionContext {
pub func_name: String,
pub mode: Mode,
pub token: Option<Token>,
pub break_on_token_text: Option<String>,
pub display_mode: bool,
}Expand description
Per-function-call context: static data about the function being parsed.
Fields§
§func_name: String§mode: Mode§token: Option<Token>§break_on_token_text: Option<String>§display_mode: boolTrait Implementations§
Source§impl Clone for FunctionContext
impl Clone for FunctionContext
Source§fn clone(&self) -> FunctionContext
fn clone(&self) -> FunctionContext
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 FunctionContext
impl RefUnwindSafe for FunctionContext
impl Send for FunctionContext
impl Sync for FunctionContext
impl Unpin for FunctionContext
impl UnsafeUnpin for FunctionContext
impl UnwindSafe for FunctionContext
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