pub struct SafeZone {
pub id: String,
pub zone_type: SafeZoneType,
pub x: Dimension,
pub y: Dimension,
pub w: Dimension,
pub h: Dimension,
pub label: Option<String>,
pub source_span: Option<Span>,
}Expand description
A named safe/dead zone declared on a Page.
Declared as a safe-zone child of a page; it is a sibling of rendering
nodes but is itself not rendered.
Fields§
§id: String§zone_type: SafeZoneType§x: Dimension§y: Dimension§w: Dimension§h: Dimension§label: Option<String>§source_span: Option<Span>Trait Implementations§
impl StructuralPartialEq for SafeZone
Auto Trait Implementations§
impl Freeze for SafeZone
impl RefUnwindSafe for SafeZone
impl Send for SafeZone
impl Sync for SafeZone
impl Unpin for SafeZone
impl UnsafeUnpin for SafeZone
impl UnwindSafe for SafeZone
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