Struct bedrock::Offset2D
[−]
[src]
#[repr(C)]pub struct Offset2D(pub i32, pub i32);
Trait Implementations
impl Debug for Offset2D
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Offset2D
[src]
fn clone(&self) -> Offset2D
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Offset2D
[src]
fn eq(&self, __arg_0: &Offset2D) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Offset2D) -> bool
[src]
This method tests for !=
.
impl Eq for Offset2D
[src]
impl From<Offset2D> for VkOffset2D
[src]
impl Into<Offset2D> for Offset1D
[src]
impl Into<Offset3D> for Offset2D
[src]
impl AsRef<VkOffset2D> for Offset2D
[src]
fn as_ref(&self) -> &VkOffset2D
[src]
Performs the conversion.