pub struct SerializeBlitContext { /* private fields */ }
Expand description
Provides the ability for a serialize adapter to interact with other adapters during blit operations.
Implementations§
Source§impl SerializeBlitContext
impl SerializeBlitContext
Sourcepub fn query_region_flags(
&self,
range: &RegionRange,
channel_flags: ChannelFlags,
) -> Result<RegionFlags, GvoxError>
pub fn query_region_flags( &self, range: &RegionRange, channel_flags: ChannelFlags, ) -> Result<RegionFlags, GvoxError>
Determines the flags that all voxels in the given region share.
Sourcepub fn load_region_range<'a>(
&'a self,
range: &RegionRange,
channel_flags: ChannelFlags,
) -> Result<RegionRef<'a>, GvoxError>
pub fn load_region_range<'a>( &'a self, range: &RegionRange, channel_flags: ChannelFlags, ) -> Result<RegionRef<'a>, GvoxError>
Loads the provided region of voxels from the parse adapter.
Auto Trait Implementations§
impl Freeze for SerializeBlitContext
impl RefUnwindSafe for SerializeBlitContext
impl !Send for SerializeBlitContext
impl !Sync for SerializeBlitContext
impl Unpin for SerializeBlitContext
impl UnwindSafe for SerializeBlitContext
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