pub enum ResizeDirection {
Both,
Horizontal,
Vertical,
}Expand description
Axes along which a resizable panel may be resized.
Variants§
Both
Allow the panel to be resized horizontally and vertically.
Horizontal
Allow the panel width to change while keeping its current height fixed.
Vertical
Allow the panel height to change while keeping its current width fixed.
Trait Implementations§
Source§impl Clone for ResizeDirection
impl Clone for ResizeDirection
Source§fn clone(&self) -> ResizeDirection
fn clone(&self) -> ResizeDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResizeDirection
Source§impl Debug for ResizeDirection
impl Debug for ResizeDirection
Source§impl Default for ResizeDirection
impl Default for ResizeDirection
Source§fn default() -> ResizeDirection
fn default() -> ResizeDirection
Returns the “default value” for a type. Read more
impl Eq for ResizeDirection
Source§impl PartialEq for ResizeDirection
impl PartialEq for ResizeDirection
impl StructuralPartialEq for ResizeDirection
Auto Trait Implementations§
impl Freeze for ResizeDirection
impl RefUnwindSafe for ResizeDirection
impl Send for ResizeDirection
impl Sync for ResizeDirection
impl Unpin for ResizeDirection
impl UnsafeUnpin for ResizeDirection
impl UnwindSafe for ResizeDirection
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.