pub enum WrapFlow {
Auto,
Both,
Start,
End,
}Expand description
Which side of an exclusion the prose sets on, from wrap-flow. An
exclusion is a box that the text keeps clear of.
Variants§
Auto
auto: the box excludes nothing, and the text runs under it.
Both
both: the prose sets on either side of it.
Start
start: the prose sets on the side the line starts at.
End
end: the prose sets on the side the line ends at.
Trait Implementations§
impl Copy for WrapFlow
impl Eq for WrapFlow
impl StructuralPartialEq for WrapFlow
Auto Trait Implementations§
impl Freeze for WrapFlow
impl RefUnwindSafe for WrapFlow
impl Send for WrapFlow
impl Sync for WrapFlow
impl Unpin for WrapFlow
impl UnsafeUnpin for WrapFlow
impl UnwindSafe for WrapFlow
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.