Struct libfive_sys::libfive_vec2
source · #[repr(C)]pub struct libfive_vec2 {
pub x: f32,
pub y: f32,
}
Fields§
§x: f32
§y: f32
Trait Implementations§
source§impl Clone for libfive_vec2
impl Clone for libfive_vec2
source§fn clone(&self) -> libfive_vec2
fn clone(&self) -> libfive_vec2
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for libfive_vec2
impl Debug for libfive_vec2
source§impl PartialEq for libfive_vec2
impl PartialEq for libfive_vec2
source§fn eq(&self, other: &libfive_vec2) -> bool
fn eq(&self, other: &libfive_vec2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for libfive_vec2
impl StructuralPartialEq for libfive_vec2
Auto Trait Implementations§
impl RefUnwindSafe for libfive_vec2
impl Send for libfive_vec2
impl Sync for libfive_vec2
impl Unpin for libfive_vec2
impl UnwindSafe for libfive_vec2
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more