pub enum CastType {
Int,
Float,
Str,
Bool,
}
Expand description
The allowable types to which you can perform a primitive cast.
Variants§
Trait Implementations§
impl StructuralPartialEq for CastType
Auto Trait Implementations§
impl Freeze for CastType
impl RefUnwindSafe for CastType
impl Send for CastType
impl Sync for CastType
impl Unpin for CastType
impl UnwindSafe for CastType
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