pub enum ClipAxis {
Both,
Horizontal,
Vertical,
}Expand description
Which of a ClippedItem’s own edges do the cutting.
Variants§
Both
The node’s rect, both ways — a viewport.
Horizontal
Its left and right edges; whatever sits above or below is left alone.
Vertical
Its top and bottom edges; whatever sits left or right of it is left alone.
Trait Implementations§
impl Copy for ClipAxis
impl Eq for ClipAxis
impl StructuralPartialEq for ClipAxis
Auto Trait Implementations§
impl Freeze for ClipAxis
impl RefUnwindSafe for ClipAxis
impl Send for ClipAxis
impl Sync for ClipAxis
impl Unpin for ClipAxis
impl UnsafeUnpin for ClipAxis
impl UnwindSafe for ClipAxis
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.