pub struct RegionRef<'a> { /* private fields */ }
Expand description
Describes a region of voxels and provides the ability to sample from it.
Implementations§
Source§impl<'a> RegionRef<'a>
impl<'a> RegionRef<'a>
Sourcepub fn channels(&self) -> ChannelFlags
pub fn channels(&self) -> ChannelFlags
The set of channels that are available for this region.
Sourcepub fn flags(&self) -> RegionFlags
pub fn flags(&self) -> RegionFlags
The flags associated with this region.
Sourcepub fn range(&self) -> RegionRange
pub fn range(&self) -> RegionRange
The 3D range of voxels that this region spans.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RegionRef<'a>
impl<'a> RefUnwindSafe for RegionRef<'a>
impl<'a> !Send for RegionRef<'a>
impl<'a> !Sync for RegionRef<'a>
impl<'a> Unpin for RegionRef<'a>
impl<'a> UnwindSafe for RegionRef<'a>
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