pub enum LeafMotion {
Swing,
DoubleSwing,
TiltAndTurn,
Tilt,
Slide(MetricDirection),
RollUp,
Removable,
Fixed,
}Expand description
How a leaf moves.
Variants§
Swing
Swings about its hinge towards its opening direction.
DoubleSwing
Swings about its hinge to both sides.
TiltAndTurn
Turns on its side hinge like Self::Swing, or tilts on its
bottom hinge (a tilt-and-turn window panel).
Tilt
Tilts on a top or bottom hinge only (a top- or bottom-hung window panel).
Slide(MetricDirection)
Slides in the given direction when opening: along the door’s width, or along a window panel’s width or height.
RollUp
Rolls up out of the opening, sweeping no floor area.
Removable
Is taken out rather than opened (a removable window casement).
Fixed
Does not open.
Implementations§
Source§impl LeafMotion
impl LeafMotion
Sourcepub fn is_hinged(self) -> bool
pub fn is_hinged(self) -> bool
Whether the leaf turns on a side hinge and sweeps a SwingSector
(DoorLeaf::swing).
Sourcepub fn tilts(self) -> bool
pub fn tilts(self) -> bool
Whether the leaf tilts on a top or bottom hinge and sweeps a tilt
sector (DoorLeaf::tilt).
Trait Implementations§
Source§impl Clone for LeafMotion
impl Clone for LeafMotion
impl Copy for LeafMotion
Source§impl Debug for LeafMotion
impl Debug for LeafMotion
Source§impl PartialEq for LeafMotion
impl PartialEq for LeafMotion
impl StructuralPartialEq for LeafMotion
Auto Trait Implementations§
impl Freeze for LeafMotion
impl RefUnwindSafe for LeafMotion
impl Send for LeafMotion
impl Sync for LeafMotion
impl Unpin for LeafMotion
impl UnsafeUnpin for LeafMotion
impl UnwindSafe for LeafMotion
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