pub struct Context {
pub focus: Option<Focus>,
pub current: Option<Item>,
}Expand description
Where an expression is evaluated: its focus, and the item current() returns.
Fields§
§focus: Option<Focus>The focus; None when the context item is absent.
current: Option<Item>The current item of XSLT (current()); None where it is absent.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Context
impl !Send for Context
impl !Sync for Context
impl !UnwindSafe for Context
impl Forget for Context
impl Freeze for Context
impl Unpin for Context
impl UnsafeUnpin for Context
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