Struct dummy_rustwlc::types::Geometry
[−]
[src]
pub struct Geometry {
pub origin: Point,
pub size: Size,
}Represents the location and size of a view
Fields
origin: Point
The location of the object
size: Size
The size of the object
Trait Implementations
impl Hash for Geometry[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Eq for Geometry[src]
impl PartialEq for Geometry[src]
fn eq(&self, __arg_0: &Geometry) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Geometry) -> bool
This method tests for !=.
impl Clone for Geometry[src]
fn clone(&self) -> Geometry
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