#[repr(u8)]pub enum BrailleDot {
Dot1 = 1,
Dot2 = 2,
Dot3 = 4,
Dot4 = 8,
Dot5 = 16,
Dot6 = 32,
Dot7 = 64,
Dot8 = 128,
}Expand description
Braille dot positions
Extracted from crabmusic. Maps dot positions to bit patterns for Unicode braille.
Dot positions in a Braille character: 1 4 2 5 3 6 7 8
Variants§
Dot1 = 1
Top-left dot (position 1)
Dot2 = 2
Middle-left dot (position 2)
Dot3 = 4
Lower-left dot (position 3)
Dot4 = 8
Top-right dot (position 4)
Dot5 = 16
Middle-right dot (position 5)
Dot6 = 32
Lower-right dot (position 6)
Dot7 = 64
Bottom-left dot (position 7)
Dot8 = 128
Bottom-right dot (position 8)
Trait Implementations§
Source§impl Clone for BrailleDot
impl Clone for BrailleDot
Source§fn clone(&self) -> BrailleDot
fn clone(&self) -> BrailleDot
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 BrailleDot
impl Debug for BrailleDot
Source§impl PartialEq for BrailleDot
impl PartialEq for BrailleDot
impl Copy for BrailleDot
impl Eq for BrailleDot
impl StructuralPartialEq for BrailleDot
Auto Trait Implementations§
impl Freeze for BrailleDot
impl RefUnwindSafe for BrailleDot
impl Send for BrailleDot
impl Sync for BrailleDot
impl Unpin for BrailleDot
impl UnwindSafe for BrailleDot
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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