pub struct PxQuantizedHeightFieldSamples {
pub samples: Vec<PxHeightFieldSample>,
pub height_scale: f32,
pub min_height: f32,
}
Fields§
§samples: Vec<PxHeightFieldSample>
§height_scale: f32
§min_height: f32
Implementations§
Source§impl PxQuantizedHeightFieldSamples
impl PxQuantizedHeightFieldSamples
pub fn new_from_f32_array(values: &[f32]) -> Self
Auto Trait Implementations§
impl Freeze for PxQuantizedHeightFieldSamples
impl RefUnwindSafe for PxQuantizedHeightFieldSamples
impl Send for PxQuantizedHeightFieldSamples
impl Sync for PxQuantizedHeightFieldSamples
impl Unpin for PxQuantizedHeightFieldSamples
impl UnwindSafe for PxQuantizedHeightFieldSamples
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