pub enum TextJustify {
InterWord,
InterCharacter,
}Expand description
What justification opens up to fill the measure.
Variants§
InterWord
auto, and inter-word with it: the space between words is
the only thing that gives.
InterCharacter
inter-character: the space between letters gives too, a
little.
Trait Implementations§
Source§impl Clone for TextJustify
impl Clone for TextJustify
Source§fn clone(&self) -> TextJustify
fn clone(&self) -> TextJustify
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextJustify
Source§impl Debug for TextJustify
impl Debug for TextJustify
impl Eq for TextJustify
Source§impl Hash for TextJustify
impl Hash for TextJustify
Source§impl PartialEq for TextJustify
impl PartialEq for TextJustify
Source§impl Serialize for TextJustify
impl Serialize for TextJustify
impl StructuralPartialEq for TextJustify
Auto Trait Implementations§
impl Freeze for TextJustify
impl RefUnwindSafe for TextJustify
impl Send for TextJustify
impl Sync for TextJustify
impl Unpin for TextJustify
impl UnsafeUnpin for TextJustify
impl UnwindSafe for TextJustify
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.