pub struct GlyphKey {
pub top: Option<Stroke>,
pub right: Option<Stroke>,
pub bottom: Option<Stroke>,
pub left: Option<Stroke>,
}Expand description
The four sides of a glyph rule: a stroke name on each side, or nothing.
Fields§
§top: Option<Stroke>The stroke on the top side, or None if none runs there.
right: Option<Stroke>The stroke on the right side, or None if none runs there.
bottom: Option<Stroke>The stroke on the bottom side, or None if none runs there.
left: Option<Stroke>The stroke on the left side, or None if none runs there.
Trait Implementations§
impl Eq for GlyphKey
impl StructuralPartialEq for GlyphKey
Auto Trait Implementations§
impl Forget for GlyphKey
impl Freeze for GlyphKey
impl RefUnwindSafe for GlyphKey
impl Send for GlyphKey
impl Sync for GlyphKey
impl Unpin for GlyphKey
impl UnsafeUnpin for GlyphKey
impl UnwindSafe for GlyphKey
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