pub struct Shape {
pub display: Option<Placement>,
pub pieces: Vec<Piece>,
pub select_options: Option<SelectOptions>,
pub children: Option<Part>,
pub control: Option<Part>,
pub edit: EditKind,
pub revision: u64,
pub prevent_activate_default: bool,
}Fields§
§display: Option<Placement>§pieces: Vec<Piece>Empty pieces describe a comment-delimited Group, not an element.
select_options: Option<SelectOptions>§children: Option<Part>§control: Option<Part>§edit: EditKind§revision: u64§prevent_activate_default: boolImplementations§
Trait Implementations§
impl Eq for Shape
impl StructuralPartialEq for Shape
Auto Trait Implementations§
impl !RefUnwindSafe for Shape
impl !Send for Shape
impl !Sync for Shape
impl !UnwindSafe for Shape
impl Forget for Shape
impl Freeze for Shapewhere
*const RcInner<Frame> is !null: Freeze,
PhantomData<RcInner<Frame>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<Piece>: Freeze,
*const RcInner<Vec<SelectEntry>> is !null: Freeze,
PhantomData<RcInner<Vec<SelectEntry>>>: Freeze,
PhantomData<u8>: Freeze,
impl Move for Shape
impl Unpin for Shape
impl UnsafeUnpin for Shapewhere
*const RcInner<Frame> is !null: UnsafeUnpin,
PhantomData<RcInner<Frame>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Piece>: UnsafeUnpin,
*const RcInner<Vec<SelectEntry>> is !null: UnsafeUnpin,
PhantomData<RcInner<Vec<SelectEntry>>>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
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