pub struct DataKindPreference { /* private fields */ }Expand description
Allow the trait user to specify its data preferences
Implementations§
Source§impl DataKindPreference
impl DataKindPreference
pub const BYTES_PREF: Self
pub const PARSED_PREF: Self
pub const STR_PREF: Self
pub const fn from_slice(ordering_slice: &[DataKind]) -> Self
Auto Trait Implementations§
impl Freeze for DataKindPreference
impl RefUnwindSafe for DataKindPreference
impl Send for DataKindPreference
impl Sync for DataKindPreference
impl Unpin for DataKindPreference
impl UnwindSafe for DataKindPreference
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