pub struct Cube { /* private fields */ }
Implementations§
Source§impl Cube
impl Cube
pub fn one_d(size: u16) -> Self
pub fn three_d(size: u16) -> Self
pub fn dim(&self) -> u8
pub fn size(&self) -> u16
pub fn input_range(&self) -> Option<&RangeInclusive<f32>>
pub fn set_input_range(&mut self, val: Option<RangeInclusive<f32>>)
pub fn r_len(&self) -> usize
pub fn raw(&self) -> &[f32]
Auto Trait Implementations§
impl Freeze for Cube
impl RefUnwindSafe for Cube
impl Send for Cube
impl Sync for Cube
impl Unpin for Cube
impl UnwindSafe for Cube
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