Enum kanjidic_types::Skip
source · [−]pub enum Skip {
Horizontal(SkipHorizontal),
Vertical(SkipVertical),
Enclosure(SkipEnclosure),
Solid(SkipSolid),
}
Expand description
Kanji code from the SKIP system of indexing. http://www.edrdg.org/wwwjdic/SKIP.html
Variants
Horizontal(SkipHorizontal)
Pattern 1, the kanji can be divided into left and right parts.
Vertical(SkipVertical)
Pattern 2, the kanji can be divided into top and bottom parts.
Enclosure(SkipEnclosure)
Pattern 3, the kanji can be divided by an enclosure element.
Solid(SkipSolid)
Pattern 4, the cannot be classified by any of the above patterns.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Skip
impl<'de> Deserialize<'de> for Skip
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Ord for Skip
impl Ord for Skip
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialOrd<Skip> for Skip
impl PartialOrd<Skip> for Skip
sourcefn partial_cmp(&self, other: &Skip) -> Option<Ordering>
fn partial_cmp(&self, other: &Skip) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Skip
impl Eq for Skip
impl StructuralEq for Skip
impl StructuralPartialEq for Skip
Auto Trait Implementations
impl RefUnwindSafe for Skip
impl Send for Skip
impl Sync for Skip
impl Unpin for Skip
impl UnwindSafe for Skip
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more