pub struct SamplePos {
pub x: f32,
pub y: f32,
}Expand description
Identify a sample within a pixel. Origin is top-left with a range [0,1) for both x and y.
Fields§
§x: f32§y: f32Trait Implementations§
impl Copy for SamplePos
impl StructuralPartialEq for SamplePos
Auto Trait Implementations§
impl Freeze for SamplePos
impl RefUnwindSafe for SamplePos
impl Send for SamplePos
impl Sync for SamplePos
impl Unpin for SamplePos
impl UnsafeUnpin for SamplePos
impl UnwindSafe for SamplePos
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