Struct cdoc_parser::raw::Parameter
source · pub struct Parameter {
pub key: Option<CowStr>,
pub value: ArgumentVal,
pub span: Span,
}Fields§
§key: Option<CowStr>§value: ArgumentVal§span: SpanImplementations§
source§impl Parameter
impl Parameter
pub fn with_value(value: ArgumentVal, pos: Span) -> Self
pub fn with_key<C: Into<CowStr>>(key: C, value: ArgumentVal, pos: Span) -> Self
Trait Implementations§
source§impl PartialEq for Parameter
impl PartialEq for Parameter
impl StructuralPartialEq for Parameter
Auto Trait Implementations§
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
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