pub enum StyleKind {
Paragraph,
Character,
}Expand description
Which kind of content a Style applies to (ST_StyleType).
Variants§
Paragraph
Applies to a whole paragraph (Paragraph.style_id).
Character
Applies to a run (Run.style_id).
Implementations§
Trait Implementations§
impl Copy for StyleKind
impl Eq for StyleKind
impl StructuralPartialEq for StyleKind
Auto Trait Implementations§
impl Freeze for StyleKind
impl RefUnwindSafe for StyleKind
impl Send for StyleKind
impl Sync for StyleKind
impl Unpin for StyleKind
impl UnsafeUnpin for StyleKind
impl UnwindSafe for StyleKind
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§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.