pub struct StatedArg<Arg>(/* private fields */);Expand description
States an argument’s type as the method writes it, known without any context.
A program can check a source against it where the program is declared.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Arg> Freeze for StatedArg<Arg>
impl<Arg> RefUnwindSafe for StatedArg<Arg>
impl<Arg> Send for StatedArg<Arg>
impl<Arg> Sync for StatedArg<Arg>
impl<Arg> Unpin for StatedArg<Arg>
impl<Arg> UnsafeUnpin for StatedArg<Arg>
impl<Arg> UnwindSafe for StatedArg<Arg>
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