pub struct PageLayoutStyle {
pub columns: u8,
pub gap: f32,
pub span_heading_through: u8,
}Fields§
§columns: u8Number of text columns on each body page (1 = default full-width column).
gap: f32Horizontal gap between columns, in points.
span_heading_through: u8Headings at this level and above span all columns (1 = H1 only).
Trait Implementations§
Source§impl Clone for PageLayoutStyle
impl Clone for PageLayoutStyle
Source§impl Debug for PageLayoutStyle
impl Debug for PageLayoutStyle
Source§impl Default for PageLayoutStyle
impl Default for PageLayoutStyle
Source§impl<'de> Deserialize<'de> for PageLayoutStylewhere
PageLayoutStyle: Default,
impl<'de> Deserialize<'de> for PageLayoutStylewhere
PageLayoutStyle: Default,
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
Auto Trait Implementations§
impl Forget for PageLayoutStyle
impl Freeze for PageLayoutStyle
impl Move for PageLayoutStyle
impl RefUnwindSafe for PageLayoutStyle
impl Send for PageLayoutStyle
impl Sync for PageLayoutStyle
impl Unpin for PageLayoutStyle
impl UnsafeUnpin for PageLayoutStyle
impl UnwindSafe for PageLayoutStyle
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§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.