[][src]Struct obs_wrapper::graphics::Vec2

pub struct Vec2 { /* fields omitted */ }

Methods

impl Vec2[src]

pub fn new(x: f32, y: f32) -> Vec2[src]

pub fn x(&self) -> f32[src]

pub fn y(&self) -> f32[src]

pub fn set(&mut self, x: f32, y: f32)[src]

pub fn as_ptr(&mut self) -> *mut vec2[src]

Trait Implementations

impl Default for Vec2[src]

Auto Trait Implementations

impl RefUnwindSafe for Vec2

impl Send for Vec2

impl Sync for Vec2

impl Unpin for Vec2

impl UnwindSafe for Vec2

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.