Struct bedrock::Offset2D [] [src]

#[repr(C)]
pub struct Offset2D(pub i32, pub i32);

Trait Implementations

impl Debug for Offset2D
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Offset2D
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Offset2D
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Offset2D
[src]

impl From<Offset2D> for VkOffset2D
[src]

[src]

Performs the conversion.

impl Into<Offset2D> for Offset1D
[src]

[src]

Performs the conversion.

impl Into<Offset3D> for Offset2D
[src]

[src]

Performs the conversion.

impl AsRef<VkOffset2D> for Offset2D
[src]

[src]

Performs the conversion.

impl AsRef<[i32; 2]> for Offset2D
[src]

[src]

Performs the conversion.

impl AsRef<Offset2D> for Offset4D
[src]

[src]

Performs the conversion.

impl AsRef<Offset2D> for Offset3D
[src]

[src]

Performs the conversion.

impl AsRef<Offset1D> for Offset2D
[src]

[src]

Performs the conversion.

impl AsRef<Offset2D> for Offset2D
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Offset2D

impl Sync for Offset2D