pub struct Cast<S, T, F>{ /* private fields */ }Expand description
map data item to another type
Trait Implementations§
Auto Trait Implementations§
impl<S, T, F> Freeze for Cast<S, T, F>
impl<S, T, F> RefUnwindSafe for Cast<S, T, F>where
S: RefUnwindSafe,
F: RefUnwindSafe,
impl<S, T, F> Send for Cast<S, T, F>
impl<S, T, F> Sync for Cast<S, T, F>
impl<S, T, F> Unpin for Cast<S, T, F>
impl<S, T, F> UnwindSafe for Cast<S, T, F>where
S: UnwindSafe,
F: UnwindSafe,
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