pub enum CastFrom {
FromValue(Value),
FromType(TypeHint),
FromCustom(String),
}Variants§
Trait Implementations§
impl StructuralPartialEq for CastFrom
Auto Trait Implementations§
impl Freeze for CastFrom
impl RefUnwindSafe for CastFrom
impl Send for CastFrom
impl Sync for CastFrom
impl Unpin for CastFrom
impl UnsafeUnpin for CastFrom
impl UnwindSafe for CastFrom
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