Struct cdoc::document::LayoutSettings
source · pub struct LayoutSettings {
pub hide_sidebar: bool,
}
Fields§
Trait Implementations§
source§impl Clone for LayoutSettings
impl Clone for LayoutSettings
source§fn clone(&self) -> LayoutSettings
fn clone(&self) -> LayoutSettings
Returns a copy 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 LayoutSettings
impl Debug for LayoutSettings
source§impl Default for LayoutSettings
impl Default for LayoutSettings
source§fn default() -> LayoutSettings
fn default() -> LayoutSettings
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LayoutSettings
impl<'de> Deserialize<'de> for LayoutSettings
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 RefUnwindSafe for LayoutSettings
impl Send for LayoutSettings
impl Sync for LayoutSettings
impl Unpin for LayoutSettings
impl UnwindSafe for LayoutSettings
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