pub struct As<T: ?Sized>(/* private fields */);Implementations§
Source§impl<T: ?Sized> As<T>
impl<T: ?Sized> As<T>
pub fn declaration<U: ?Sized>() -> Declarationwhere
T: BorshSchemaAs<U>,
pub fn add_definitions_recursively<U: ?Sized>(
definitions: &mut BTreeMap<Declaration, Definition>,
)where
T: BorshSchemaAs<U>,
Auto Trait Implementations§
impl<T> Freeze for As<T>where
T: ?Sized,
impl<T> RefUnwindSafe for As<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for As<T>
impl<T> Sync for As<T>
impl<T> Unpin for As<T>
impl<T> UnsafeUnpin for As<T>where
T: ?Sized,
impl<T> UnwindSafe for As<T>where
T: UnwindSafe + ?Sized,
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