pub struct HeightfieldSpan<'heightfield> { /* private fields */ }Implementations§
Source§impl<'heightfield> HeightfieldSpan<'heightfield>
impl<'heightfield> HeightfieldSpan<'heightfield>
pub fn height_min_u32(&self) -> u32
pub fn height_max_u32(&self) -> u32
pub fn height_min_f32(&self) -> f32
pub fn height_max_f32(&self) -> f32
pub fn area_id(&self) -> u32
pub fn next_span_in_column(&self) -> Option<Self>
pub fn collect(head: Option<Self>) -> Vec<Self>
Trait Implementations§
Source§impl<'heightfield> Clone for HeightfieldSpan<'heightfield>
impl<'heightfield> Clone for HeightfieldSpan<'heightfield>
Source§fn clone(&self) -> HeightfieldSpan<'heightfield>
fn clone(&self) -> HeightfieldSpan<'heightfield>
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<'hf> Debug for HeightfieldSpan<'hf>
impl<'hf> Debug for HeightfieldSpan<'hf>
impl<'heightfield> Copy for HeightfieldSpan<'heightfield>
Auto Trait Implementations§
impl<'heightfield> Freeze for HeightfieldSpan<'heightfield>
impl<'heightfield> RefUnwindSafe for HeightfieldSpan<'heightfield>
impl<'heightfield> !Send for HeightfieldSpan<'heightfield>
impl<'heightfield> !Sync for HeightfieldSpan<'heightfield>
impl<'heightfield> Unpin for HeightfieldSpan<'heightfield>
impl<'heightfield> UnwindSafe for HeightfieldSpan<'heightfield>
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