pub struct HybridCommandPartition { /* private fields */ }Expand description
Result of partitioning a DisplayList into GPU-native primitives and sparse CPU-only effect regions.
Implementations§
Source§impl HybridCommandPartition
impl HybridCommandPartition
pub fn get_gpu_native_count(&self) -> usize
pub fn get_mut_gpu_native_count(&mut self) -> &mut usize
pub fn set_gpu_native_count(&mut self, val: usize) -> &mut Self
pub fn get_cpu_effect_regions(&self) -> &Vec<Rect>
pub fn get_mut_cpu_effect_regions(&mut self) -> &mut Vec<Rect>
pub fn set_cpu_effect_regions(&mut self, val: Vec<Rect>) -> &mut Self
pub fn get_gpu_covered_pixels(&self) -> usize
pub fn get_mut_gpu_covered_pixels(&mut self) -> &mut usize
pub fn set_gpu_covered_pixels(&mut self, val: usize) -> &mut Self
Trait Implementations§
Source§impl Clone for HybridCommandPartition
impl Clone for HybridCommandPartition
Source§impl Debug for HybridCommandPartition
impl Debug for HybridCommandPartition
Source§impl Default for HybridCommandPartition
impl Default for HybridCommandPartition
Source§impl PartialEq for HybridCommandPartition
impl PartialEq for HybridCommandPartition
impl StructuralPartialEq for HybridCommandPartition
Auto Trait Implementations§
impl Forget for HybridCommandPartition
impl Freeze for HybridCommandPartition
impl Move for HybridCommandPartition
impl RefUnwindSafe for HybridCommandPartition
impl Send for HybridCommandPartitionwhere
RawVecInner: Send,
impl Sync for HybridCommandPartitionwhere
RawVecInner: Sync,
impl Unpin for HybridCommandPartition
impl UnsafeUnpin for HybridCommandPartition
impl UnwindSafe for HybridCommandPartitionwhere
RawVecInner: UnwindSafe,
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