#[repr(C)]pub enum VariationSelector {
VS01 = 1,
VS02 = 2,
VS03 = 3,
VS15 = 15,
VS16 = 16,
}Expand description
A Unicode variation selector.
VS04-VS14 are omitted as they aren’t currently used.
Variants§
VS01 = 1
VARIATION SELECTOR-1
VS02 = 2
VARIATION SELECTOR-2
VS03 = 3
VARIATION SELECTOR-3
VS15 = 15
Text presentation
VS16 = 16
Emoji presentation
Trait Implementations§
Source§impl Clone for VariationSelector
impl Clone for VariationSelector
Source§fn clone(&self) -> VariationSelector
fn clone(&self) -> VariationSelector
Returns a duplicate 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 VariationSelector
impl Debug for VariationSelector
Source§impl Hash for VariationSelector
impl Hash for VariationSelector
Source§impl PartialEq for VariationSelector
impl PartialEq for VariationSelector
Source§impl PartialOrd for VariationSelector
impl PartialOrd for VariationSelector
impl Copy for VariationSelector
impl StructuralPartialEq for VariationSelector
Auto Trait Implementations§
impl Freeze for VariationSelector
impl RefUnwindSafe for VariationSelector
impl Send for VariationSelector
impl Sync for VariationSelector
impl Unpin for VariationSelector
impl UnwindSafe for VariationSelector
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§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