pub struct UnityGraphics { /* private fields */ }
Implementations§
Source§impl UnityGraphics
impl UnityGraphics
pub fn renderer(&self) -> GfxRenderer
pub fn register_device_event_callback( &self, callback: Option<GraphicsDeviceEventCallback>, )
pub fn unregister_device_event_callback( &self, callback: Option<GraphicsDeviceEventCallback>, )
Trait Implementations§
Source§impl Clone for UnityGraphics
impl Clone for UnityGraphics
Source§fn clone(&self) -> UnityGraphics
fn clone(&self) -> UnityGraphics
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 UnityInterface for UnityGraphics
impl UnityInterface for UnityGraphics
fn get_interface_guid() -> UnityInterfaceGUID
fn new(interface: *const IUnityInterface) -> Self
impl Copy for UnityGraphics
impl Send for UnityGraphics
impl Sync for UnityGraphics
Auto Trait Implementations§
impl Freeze for UnityGraphics
impl RefUnwindSafe for UnityGraphics
impl Unpin for UnityGraphics
impl UnwindSafe for UnityGraphics
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