Enum kas::event::ResizeDirection
pub enum ResizeDirection {
East,
North,
NorthEast,
NorthWest,
South,
SouthEast,
SouthWest,
West,
}
Expand description
Defines the orientation that a window resize will be performed.
Variants§
Trait Implementations§
§impl Clone for ResizeDirection
impl Clone for ResizeDirection
§fn clone(&self) -> ResizeDirection
fn clone(&self) -> ResizeDirection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ResizeDirection
impl Debug for ResizeDirection
§impl From<ResizeDirection> for CursorIcon
impl From<ResizeDirection> for CursorIcon
§fn from(direction: ResizeDirection) -> CursorIcon
fn from(direction: ResizeDirection) -> CursorIcon
Converts to this type from the input type.
§impl Hash for ResizeDirection
impl Hash for ResizeDirection
§impl PartialEq for ResizeDirection
impl PartialEq for ResizeDirection
§fn eq(&self, other: &ResizeDirection) -> bool
fn eq(&self, other: &ResizeDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ResizeDirection
impl Eq for ResizeDirection
impl StructuralEq for ResizeDirection
impl StructuralPartialEq for ResizeDirection
Auto Trait Implementations§
impl RefUnwindSafe for ResizeDirection
impl Send for ResizeDirection
impl Sync for ResizeDirection
impl Unpin for ResizeDirection
impl UnwindSafe for ResizeDirection
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
§impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
§fn try_cast_approx(self) -> Result<T, Error>
fn try_cast_approx(self) -> Result<T, Error>
§fn cast_approx(self) -> T
fn cast_approx(self) -> T
§impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
§fn cast_trunc(self) -> T
fn cast_trunc(self) -> T
Cast to integer, truncating Read more
§fn cast_nearest(self) -> T
fn cast_nearest(self) -> T
Cast to the nearest integer Read more
§fn cast_floor(self) -> T
fn cast_floor(self) -> T
Cast the floor to an integer Read more
§fn try_cast_trunc(self) -> Result<T, Error>
fn try_cast_trunc(self) -> Result<T, Error>
Try converting to integer with truncation Read more
§fn try_cast_nearest(self) -> Result<T, Error>
fn try_cast_nearest(self) -> Result<T, Error>
Try converting to the nearest integer Read more
§fn try_cast_floor(self) -> Result<T, Error>
fn try_cast_floor(self) -> Result<T, Error>
Try converting the floor to an integer Read more
§fn try_cast_ceil(self) -> Result<T, Error>
fn try_cast_ceil(self) -> Result<T, Error>
Try convert the ceiling to an integer 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
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.