pub struct BoxInfo(/* private fields */);
Implementations§
Source§impl BoxInfo
impl BoxInfo
pub fn center(&self) -> [f32; 3]
pub fn set_center(&mut self, val: [f32; 3])
pub fn with_center(self, val: [f32; 3]) -> Self
pub fn rotation(&self) -> [f32; 3]
pub fn set_rotation(&mut self, val: [f32; 3])
pub fn with_rotation(self, val: [f32; 3]) -> Self
pub fn size(&self) -> [f32; 3]
pub fn set_size(&mut self, val: [f32; 3])
pub fn with_size(self, val: [f32; 3]) -> Self
pub fn ptr(&self) -> *const HAPI_BoxInfo
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BoxInfo
impl RefUnwindSafe for BoxInfo
impl Send for BoxInfo
impl Sync for BoxInfo
impl Unpin for BoxInfo
impl UnwindSafe for BoxInfo
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