pub struct HangingPunctuation {
pub first: bool,
pub end: HangEnd,
pub last: bool,
}Expand description
Which marks may hang past the measure, from
hanging-punctuation.
Fields§
§first: boolfirst: opening punctuation hangs into the margin the line
starts at.
end: HangEndallow-end or force-end.
last: boollast: the mark a paragraph ends on hangs past the measure.
Implementations§
Source§impl HangingPunctuation
impl HangingPunctuation
Sourcepub const NONE: HangingPunctuation
pub const NONE: HangingPunctuation
Nothing hangs.
Trait Implementations§
Source§impl Clone for HangingPunctuation
impl Clone for HangingPunctuation
Source§fn clone(&self) -> HangingPunctuation
fn clone(&self) -> HangingPunctuation
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 HangingPunctuation
Source§impl Debug for HangingPunctuation
impl Debug for HangingPunctuation
Source§impl Default for HangingPunctuation
impl Default for HangingPunctuation
Source§fn default() -> HangingPunctuation
fn default() -> HangingPunctuation
Returns the “default value” for a type. Read more
impl Eq for HangingPunctuation
Source§impl Hash for HangingPunctuation
impl Hash for HangingPunctuation
Source§impl PartialEq for HangingPunctuation
impl PartialEq for HangingPunctuation
Source§impl Serialize for HangingPunctuation
impl Serialize for HangingPunctuation
impl StructuralPartialEq for HangingPunctuation
Auto Trait Implementations§
impl Freeze for HangingPunctuation
impl RefUnwindSafe for HangingPunctuation
impl Send for HangingPunctuation
impl Sync for HangingPunctuation
impl Unpin for HangingPunctuation
impl UnsafeUnpin for HangingPunctuation
impl UnwindSafe for HangingPunctuation
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.