Enum allsorts::unicode::VariationSelector
source · 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 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 VariationSelector
impl Debug for VariationSelector
source§impl PartialEq for VariationSelector
impl PartialEq for VariationSelector
source§fn eq(&self, other: &VariationSelector) -> bool
fn eq(&self, other: &VariationSelector) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<char> for VariationSelector
impl TryFrom<char> for VariationSelector
impl Copy for VariationSelector
impl Eq 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> 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