pub struct SphereInfo(/* private fields */);
Implementations§
Source§impl SphereInfo
impl SphereInfo
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 radius(&self) -> f32
pub fn set_radius(&mut self, val: f32)
pub fn with_radius(self, val: f32) -> Self
pub fn ptr(&self) -> *const HAPI_SphereInfo
Trait Implementations§
Source§impl Clone for SphereInfo
impl Clone for SphereInfo
Source§fn clone(&self) -> SphereInfo
fn clone(&self) -> SphereInfo
Returns a duplicate 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 Debug for SphereInfo
impl Debug for SphereInfo
Auto Trait Implementations§
impl Freeze for SphereInfo
impl RefUnwindSafe for SphereInfo
impl Send for SphereInfo
impl Sync for SphereInfo
impl Unpin for SphereInfo
impl UnwindSafe for SphereInfo
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