Struct orbclient::size::Size
[−]
[src]
pub struct Size { pub width: u32, pub height: u32, }
A size
Fields
width: u32
height: u32
Methods
impl Size
[src]
Trait Implementations
impl Default for Size
[src]
impl Debug for Size
[src]
impl Clone for Size
[src]
fn clone(&self) -> Size
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
impl Copy for Size
[src]
impl Add for Size
[src]
type Output = Size
The resulting type after applying the +
operator
fn add(self, other: Size) -> Self::Output
The method for the +
operator