pub enum HangEnd {
None,
Allow,
Force,
}Expand description
How far hanging-punctuation goes at the end of a line.
Variants§
None
Nothing hangs at a line end.
Allow
allow-end: a mark hangs only where hanging is what makes the
line fit.
Force
force-end: a mark at a line end always hangs.
Trait Implementations§
impl Copy for HangEnd
impl Eq for HangEnd
impl StructuralPartialEq for HangEnd
Auto Trait Implementations§
impl Freeze for HangEnd
impl RefUnwindSafe for HangEnd
impl Send for HangEnd
impl Sync for HangEnd
impl Unpin for HangEnd
impl UnsafeUnpin for HangEnd
impl UnwindSafe for HangEnd
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.