Enum cognitive_frames::Mobility
[−]
[src]
pub enum Mobility { Floating, Anchored, Docked, }
Defines what spatial operations are allowed in the frame.
Variants
Floating
Frame can be moved and resized.
Anchored
Frame can only be resized.
Docked
Frame cannot be moved nor resized.
Methods
impl Mobility
[src]
fn is_floating(&self) -> bool
Returns true
if frame can be moved or resized.
fn is_anchored(&self) -> bool
Returns true
if frame can be resized but not moved.
fn is_docked(&self) -> bool
Returns true
if frame cannot be resized nor moved.
Trait Implementations
impl Clone for Mobility
[src]
fn clone(&self) -> Mobility
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more