Struct voodoo::Offset2d
[−]
[src]
#[repr(C)]pub struct Offset2d { /* fields omitted */ }
A VkOffset2D
.
Methods
impl Offset2d
[src]
pub fn builder() -> Offset2dBuilder
[src]
pub unsafe fn from_raw(raw: VkOffset2D) -> Offset2d
[src]
pub fn x<'a>(&'a self) -> i32
[src]
pub fn y<'a>(&'a self) -> i32
[src]
pub fn set_x<'m>(&mut self, x: i32)
[src]
pub fn set_y<'m>(&mut self, y: i32)
[src]
pub fn as_raw(&self) -> &VkOffset2D
[src]
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 Default for Offset2d
[src]
impl From<Offset2d> for VkOffset2D
[src]
fn from(f: Offset2d) -> VkOffset2D
[src]
Performs the conversion.