pub struct BoxInfo { /* private fields */ }
Implementations
sourceimpl 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 RefUnwindSafe for BoxInfo
impl Send for BoxInfo
impl Sync for BoxInfo
impl Unpin for BoxInfo
impl UnwindSafe for BoxInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more