pub struct SampleRange {
pub first_sample: u32,
pub samples: u32,
}Expand description
A contiguous absolute sample range [first_sample, first_sample + samples), named
like the protocol’s RenderRequest fields.
Fields§
§first_sample: u32The first absolute sample index.
samples: u32How many samples, starting at first_sample.
Implementations§
Source§impl SampleRange
impl SampleRange
Trait Implementations§
Source§impl Clone for SampleRange
impl Clone for SampleRange
impl Copy for SampleRange
Source§impl Debug for SampleRange
impl Debug for SampleRange
impl Eq for SampleRange
Source§impl Hash for SampleRange
impl Hash for SampleRange
Source§impl PartialEq for SampleRange
impl PartialEq for SampleRange
impl StructuralPartialEq for SampleRange
Auto Trait Implementations§
impl Freeze for SampleRange
impl RefUnwindSafe for SampleRange
impl Send for SampleRange
impl Sync for SampleRange
impl Unpin for SampleRange
impl UnsafeUnpin for SampleRange
impl UnwindSafe for SampleRange
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