pub struct LayoutShape {
pub items: Vec<ShapeItem>,
}Expand description
A box’s shapes, drawn as a shapes generator draws its items on a picture the size of the box’s content box: positions normalized to that box, lengths fractions of its shorter side. A shape box has no size of its own.
Fields§
§items: Vec<ShapeItem>The content tree, front first.
Trait Implementations§
Source§impl Clone for LayoutShape
impl Clone for LayoutShape
Source§impl Debug for LayoutShape
impl Debug for LayoutShape
Source§impl<'de> Deserialize<'de> for LayoutShape
impl<'de> Deserialize<'de> for LayoutShape
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 PartialEq for LayoutShape
impl PartialEq for LayoutShape
Source§impl Serialize for LayoutShape
impl Serialize for LayoutShape
impl StructuralPartialEq for LayoutShape
Auto Trait Implementations§
impl Freeze for LayoutShape
impl RefUnwindSafe for LayoutShape
impl Send for LayoutShape
impl Sync for LayoutShape
impl Unpin for LayoutShape
impl UnsafeUnpin for LayoutShape
impl UnwindSafe for LayoutShape
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