pub struct Descriptor { /* private fields */ }
Expand description
Descriptor for anticipated arguments.
Implementations§
Source§impl Descriptor
impl Descriptor
Sourcepub fn value_type(&self) -> &Type
pub fn value_type(&self) -> &Type
Get the type of the argument value.
Sourcepub fn description(&self) -> &String
pub fn description(&self) -> &String
Get the description of the argument.
Auto Trait Implementations§
impl Freeze for Descriptor
impl RefUnwindSafe for Descriptor
impl Send for Descriptor
impl Sync for Descriptor
impl Unpin for Descriptor
impl UnwindSafe for Descriptor
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