Struct FieldModifiers
#[non_exhaustive]
pub struct FieldModifiers {}
Additional optional information about a field.
This data structure may grow to accommodate future Rust language changes, including the following in-progress RFCs:
Implementations
impl FieldModifiers
fn require_empty(&self) -> Result<()>
Trait Implementations
impl Clone for FieldModifiers
fn clone(&self) -> Self
impl Default for FieldModifiers
fn default() -> Self
Auto Trait Implementations
impl Freeze for FieldModifiers
impl RefUnwindSafe for FieldModifiers
impl Send for FieldModifiers
impl Sync for FieldModifiers
impl Unpin for FieldModifiers
impl UnsafeUnpin for FieldModifiers
impl UnwindSafe for FieldModifiers
Blanket Implementations
impl<T> Any for FieldModifiers
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for FieldModifiers
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for FieldModifiers
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for FieldModifiers
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for FieldModifiers
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for FieldModifiers
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for FieldModifiers
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for FieldModifiers
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for FieldModifiers
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>