pub struct ArgDetail {
pub name: Cow<'static, str>,
pub ty: &'static Shape,
}Expand description
A single argument in a method signature.
Fields§
§name: Cow<'static, str>Argument name.
ty: &'static ShapeArgument type shape.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArgDetail
impl RefUnwindSafe for ArgDetail
impl Send for ArgDetail
impl Sync for ArgDetail
impl Unpin for ArgDetail
impl UnwindSafe for ArgDetail
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