pub struct SphereSource { /* private fields */ }
Implementations§
Source§impl SphereSource
impl SphereSource
pub fn new() -> Self
pub fn set_radius(&mut self, radius: f64)
pub fn get_radius(&self) -> f64
pub fn set_center(&mut self, center: [f64; 3])
pub fn get_center(&self) -> [f64; 3]
pub fn set_phi_resolution(&mut self, resolution: c_int)
pub fn set_theta_resolution(&mut self, resolution: c_int)
pub fn print_self(&self, indent: usize) -> CString
Trait Implementations§
Source§impl Default for SphereSource
impl Default for SphereSource
Auto Trait Implementations§
impl Freeze for SphereSource
impl RefUnwindSafe for SphereSource
impl !Send for SphereSource
impl !Sync for SphereSource
impl Unpin for SphereSource
impl UnwindSafe for SphereSource
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