pub enum TextSpacing {
Percent(i32),
Points(i32),
}Expand description
Paragraph-level spacing (CT_TextSpacing, the choice behind <a:lnSpc>/
<a:spcBef>/<a:spcAft>). Grounded against a real fixture exercising both variants side by
side (<a:lnSpc><a:spcPct val="100000"/></a:lnSpc>, <a:spcBef><a:spcPts val="0"/></a:spcBef>).
Variants§
Percent(i32)
<a:spcPct val=".."> — a percentage of a single line’s height, in thousandths of a percent
(100000 = 100%).
Points(i32)
<a:spcPts val=".."> — an absolute size in hundredths of a point (1200 = 12pt).
Trait Implementations§
Source§impl Clone for TextSpacing
impl Clone for TextSpacing
Source§fn clone(&self) -> TextSpacing
fn clone(&self) -> TextSpacing
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 TextSpacing
Source§impl Debug for TextSpacing
impl Debug for TextSpacing
impl Eq for TextSpacing
Source§impl PartialEq for TextSpacing
impl PartialEq for TextSpacing
impl StructuralPartialEq for TextSpacing
Auto Trait Implementations§
impl Freeze for TextSpacing
impl RefUnwindSafe for TextSpacing
impl Send for TextSpacing
impl Sync for TextSpacing
impl Unpin for TextSpacing
impl UnsafeUnpin for TextSpacing
impl UnwindSafe for TextSpacing
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§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.