pub struct Argument { /* private fields */ }
Expand description
An argument
Implementations§
source§impl Argument
impl Argument
sourcepub fn new(name: &'static str, value: InputLiteral) -> Self
pub fn new(name: &'static str, value: InputLiteral) -> Self
Constructs an Argument
sourcepub fn from_cow_name(name: Cow<'static, str>, value: InputLiteral) -> Self
pub fn from_cow_name(name: Cow<'static, str>, value: InputLiteral) -> Self
Constructs an Argument
with a Cow
as its name
Trait Implementations§
source§impl PartialEq for Argument
impl PartialEq for Argument
impl StructuralPartialEq for Argument
Auto Trait Implementations§
impl Freeze for Argument
impl RefUnwindSafe for Argument
impl Send for Argument
impl Sync for Argument
impl Unpin for Argument
impl UnwindSafe for Argument
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