pub struct Layout {
pub id: LayoutId,
pub name: String,
pub kind: LayoutType,
pub shapes: Vec<Shape>,
pub background: Option<Background>,
pub show_master_shapes: bool,
pub preserve: bool,
pub color_map: Option<Vec<(String, String)>>,
pub raw_ext: Option<String>,
}Fields§
§id: LayoutId§name: String§kind: LayoutType§shapes: Vec<Shape>§background: Option<Background>§show_master_shapes: bool§preserve: bool§color_map: Option<Vec<(String, String)>>clrMapOvr: a colour map replacing the master’s for this layout and the slides using it
(dark “section” layouts map bg1 to dk1); None follows the master.
raw_ext: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Layout
impl<'de> Deserialize<'de> for Layout
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
impl StructuralPartialEq for Layout
Auto Trait Implementations§
impl Freeze for Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnsafeUnpin for Layout
impl UnwindSafe for Layout
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