pub struct IntoConverter;Expand description
A converter that uses the Into trait to convert values into another
type.
Trait Implementations§
Source§impl Debug for IntoConverter
impl Debug for IntoConverter
impl Converter for IntoConverter
Auto Trait Implementations§
impl Freeze for IntoConverter
impl RefUnwindSafe for IntoConverter
impl Send for IntoConverter
impl Sync for IntoConverter
impl Unpin for IntoConverter
impl UnwindSafe for IntoConverter
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
Source§impl<S, T> Convertable<BoxConverter, T> for S
impl<S, T> Convertable<BoxConverter, T> for S
Source§fn to(self) -> T
fn to(self) -> T
Converts the value into another type
T using the specified converter
C. The conversion should not fail, so not a Result<T, E> but a
T is expected. Read moreSource§impl<S, T> Convertable<DebugConverter, T> for S
impl<S, T> Convertable<DebugConverter, T> for S
Source§fn to(self) -> T
fn to(self) -> T
Converts the value into another type
T using the specified converter
C. The conversion should not fail, so not a Result<T, E> but a
T is expected. Read moreSource§impl<S, T> Convertable<IntoConverter, T> for Swhere
S: Into<T>,
impl<S, T> Convertable<IntoConverter, T> for Swhere
S: Into<T>,
Source§fn to(self) -> T
fn to(self) -> T
Converts the value into another type
T using the specified converter
C. The conversion should not fail, so not a Result<T, E> but a
T is expected. Read more