Struct icu::experimental::personnames::api::FieldModifierSet
source · pub struct FieldModifierSet { /* private fields */ }
Expand description
Field Modifiers Set. (must be the same as FieldModifier repr)
Implementations§
source§impl FieldModifierSet
impl FieldModifierSet
pub fn formality(formality: FieldFormality) -> FieldModifierSet
pub fn style(style: FieldCapsStyle) -> FieldModifierSet
pub fn part(part: FieldPart) -> FieldModifierSet
pub fn length(length: FieldLength) -> FieldModifierSet
pub fn new( style: FieldCapsStyle, part: FieldPart, length: FieldLength, formality: FieldFormality, ) -> FieldModifierSet
Trait Implementations§
source§impl Clone for FieldModifierSet
impl Clone for FieldModifierSet
source§fn clone(&self) -> FieldModifierSet
fn clone(&self) -> FieldModifierSet
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FieldModifierSet
impl Debug for FieldModifierSet
source§impl Default for FieldModifierSet
impl Default for FieldModifierSet
source§fn default() -> FieldModifierSet
fn default() -> FieldModifierSet
Returns the “default value” for a type. Read more
source§impl Hash for FieldModifierSet
impl Hash for FieldModifierSet
source§impl Ord for FieldModifierSet
impl Ord for FieldModifierSet
source§fn cmp(&self, other: &FieldModifierSet) -> Ordering
fn cmp(&self, other: &FieldModifierSet) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for FieldModifierSet
impl PartialEq for FieldModifierSet
source§impl PartialOrd for FieldModifierSet
impl PartialOrd for FieldModifierSet
impl Copy for FieldModifierSet
impl Eq for FieldModifierSet
impl StructuralPartialEq for FieldModifierSet
Auto Trait Implementations§
impl Freeze for FieldModifierSet
impl RefUnwindSafe for FieldModifierSet
impl Send for FieldModifierSet
impl Sync for FieldModifierSet
impl Unpin for FieldModifierSet
impl UnwindSafe for FieldModifierSet
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more