pub struct ParagraphSpacing {
pub before_subpx: u32,
pub after_subpx: u32,
}Expand description
Configurable space before and after paragraphs.
Fields§
§before_subpx: u32Space before the first line of a paragraph (sub-pixel units).
after_subpx: u32Space after the last line of a paragraph (sub-pixel units).
Implementations§
Trait Implementations§
Source§impl Clone for ParagraphSpacing
impl Clone for ParagraphSpacing
Source§fn clone(&self) -> ParagraphSpacing
fn clone(&self) -> ParagraphSpacing
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParagraphSpacing
impl Debug for ParagraphSpacing
Source§impl Default for ParagraphSpacing
impl Default for ParagraphSpacing
Source§impl Display for ParagraphSpacing
impl Display for ParagraphSpacing
Source§impl Hash for ParagraphSpacing
impl Hash for ParagraphSpacing
Source§impl PartialEq for ParagraphSpacing
impl PartialEq for ParagraphSpacing
impl Copy for ParagraphSpacing
impl Eq for ParagraphSpacing
impl StructuralPartialEq for ParagraphSpacing
Auto Trait Implementations§
impl Freeze for ParagraphSpacing
impl RefUnwindSafe for ParagraphSpacing
impl Send for ParagraphSpacing
impl Sync for ParagraphSpacing
impl Unpin for ParagraphSpacing
impl UnsafeUnpin for ParagraphSpacing
impl UnwindSafe for ParagraphSpacing
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.