pub struct Parameter<'a> {
pub end: usize,
pub name: Option<Vec<Node<'a>>>,
pub start: usize,
pub value: Vec<Node<'a>>,
}
Expand description
Template parameter.
Fields§
§end: usize
The byte position in the wiki text where the element ends.
name: Option<Vec<Node<'a>>>
The name of the parameter, if any.
start: usize
The byte position in the wiki text where the element starts.
value: Vec<Node<'a>>
The value of the parameter.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Parameter<'a>
impl<'a> RefUnwindSafe for Parameter<'a>
impl<'a> Send for Parameter<'a>
impl<'a> Sync for Parameter<'a>
impl<'a> Unpin for Parameter<'a>
impl<'a> UnwindSafe for Parameter<'a>
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