pub struct PlanarExtent<'m, 's> { /* private fields */ }Expand description
Borrowed projection of IfcPlanarExtent: a rectangular presentation area.
SizeInX/SizeInY are IfcLengthMeasure, which unlike the positive
measures elsewhere in this crate permits zero and negative values, so they
are read as plain numbers without a range guard.
Implementations§
Source§impl<'m, 's> PlanarExtent<'m, 's>
impl<'m, 's> PlanarExtent<'m, 's>
Sourcepub fn size_in_x(&self) -> StyleResult<f64>
pub fn size_in_x(&self) -> StyleResult<f64>
The SizeInX attribute. Mandatory.
Sourcepub fn size_in_y(&self) -> StyleResult<f64>
pub fn size_in_y(&self) -> StyleResult<f64>
The SizeInY attribute. Mandatory.
Trait Implementations§
Source§impl<'m, 's> Clone for PlanarExtent<'m, 's>
impl<'m, 's> Clone for PlanarExtent<'m, 's>
impl<'m, 's> Copy for PlanarExtent<'m, 's>
Auto Trait Implementations§
impl<'m, 's> Freeze for PlanarExtent<'m, 's>
impl<'m, 's> RefUnwindSafe for PlanarExtent<'m, 's>
impl<'m, 's> Send for PlanarExtent<'m, 's>
impl<'m, 's> Sync for PlanarExtent<'m, 's>
impl<'m, 's> Unpin for PlanarExtent<'m, 's>
impl<'m, 's> UnsafeUnpin for PlanarExtent<'m, 's>
impl<'m, 's> UnwindSafe for PlanarExtent<'m, 's>
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