pub struct Spacing {
pub before: i32,
pub after: i32,
pub between_line: SpaceBetweenLine,
pub line_multiplier: i32,
}
Expand description
The vertical margin before / after a block of text
Fields§
§before: i32
§after: i32
§between_line: SpaceBetweenLine
§line_multiplier: i32
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Spacing
impl<'de> Deserialize<'de> for Spacing
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromWasmAbi for Spacing
impl FromWasmAbi for Spacing
Source§impl IntoWasmAbi for Spacing
impl IntoWasmAbi for Spacing
Source§impl LongRefFromWasmAbi for Spacing
impl LongRefFromWasmAbi for Spacing
Source§impl OptionFromWasmAbi for Spacing
impl OptionFromWasmAbi for Spacing
Source§impl OptionIntoWasmAbi for Spacing
impl OptionIntoWasmAbi for Spacing
Source§impl RefFromWasmAbi for Spacing
impl RefFromWasmAbi for Spacing
Source§impl RefMutFromWasmAbi for Spacing
impl RefMutFromWasmAbi for Spacing
Source§impl TryFromJsValue for Spacing
impl TryFromJsValue for Spacing
Source§impl VectorFromWasmAbi for Spacing
impl VectorFromWasmAbi for Spacing
Source§impl VectorIntoWasmAbi for Spacing
impl VectorIntoWasmAbi for Spacing
impl Copy for Spacing
impl StructuralPartialEq for Spacing
impl SupportsConstructor for Spacing
impl SupportsInstanceProperty for Spacing
impl SupportsStaticProperty for Spacing
Auto Trait Implementations§
impl Freeze for Spacing
impl RefUnwindSafe for Spacing
impl Send for Spacing
impl Sync for Spacing
impl Unpin for Spacing
impl UnwindSafe for Spacing
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<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.