pub struct VrStereoConfig(/* private fields */);Implementations§
Source§impl VrStereoConfig
impl VrStereoConfig
Sourcepub unsafe fn unwrap(self) -> VrStereoConfig
pub unsafe fn unwrap(self) -> VrStereoConfig
Take the raw ffi type. Must manually free memory by calling the proper unload function
Source§impl VrStereoConfig
impl VrStereoConfig
Sourcepub fn to_raw(self) -> VrStereoConfig
pub fn to_raw(self) -> VrStereoConfig
returns the unwrapped raylib-sys object
Sourcepub unsafe fn from_raw(raw: VrStereoConfig) -> Self
pub unsafe fn from_raw(raw: VrStereoConfig) -> Self
converts raylib-sys object to a “safe” version. Make sure to call this function from the thread the resource was created.
Trait Implementations§
Source§impl AsMut<VrStereoConfig> for VrStereoConfig
impl AsMut<VrStereoConfig> for VrStereoConfig
Source§fn as_mut(&mut self) -> &mut VrStereoConfig
fn as_mut(&mut self) -> &mut VrStereoConfig
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<VrStereoConfig> for VrStereoConfig
impl AsRef<VrStereoConfig> for VrStereoConfig
Source§fn as_ref(&self) -> &VrStereoConfig
fn as_ref(&self) -> &VrStereoConfig
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Debug for VrStereoConfig
impl Debug for VrStereoConfig
Source§impl Deref for VrStereoConfig
impl Deref for VrStereoConfig
Source§impl DerefMut for VrStereoConfig
impl DerefMut for VrStereoConfig
Auto Trait Implementations§
impl Freeze for VrStereoConfig
impl RefUnwindSafe for VrStereoConfig
impl Send for VrStereoConfig
impl Sync for VrStereoConfig
impl Unpin for VrStereoConfig
impl UnwindSafe for VrStereoConfig
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