pub struct Instance<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Instance<'a>
impl<'a> Instance<'a>
pub fn unanimated( device: &'a Device, scene: &'a CommittedScene<'_>, ) -> Instance<'a>
pub fn set_transform(&mut self, transform: &Matrix4<f32>)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Instance<'a>
impl<'a> RefUnwindSafe for Instance<'a>
impl<'a> !Send for Instance<'a>
impl<'a> Unpin for Instance<'a>
impl<'a> UnwindSafe for Instance<'a>
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