pub struct GainMapLayer {
pub format: PixelFormat,
pub width: u32,
pub height: u32,
}Expand description
Layer format and stored pixel dimensions passed to GainMapApplier::new.
Fields§
§format: PixelFormatPixel format of this layer (layout + color).
width: u32Layer width in pixels.
height: u32Layer height in rows.
Implementations§
Source§impl GainMapLayer
impl GainMapLayer
Sourcepub const fn new(format: PixelFormat, width: u32, height: u32) -> Self
pub const fn new(format: PixelFormat, width: u32, height: u32) -> Self
Construct a layer descriptor from (format, width, height).
Trait Implementations§
Source§impl Clone for GainMapLayer
impl Clone for GainMapLayer
Source§fn clone(&self) -> GainMapLayer
fn clone(&self) -> GainMapLayer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GainMapLayer
impl Debug for GainMapLayer
impl Eq for GainMapLayer
Source§impl PartialEq for GainMapLayer
impl PartialEq for GainMapLayer
impl StructuralPartialEq for GainMapLayer
Auto Trait Implementations§
impl Freeze for GainMapLayer
impl RefUnwindSafe for GainMapLayer
impl Send for GainMapLayer
impl Sync for GainMapLayer
impl Unpin for GainMapLayer
impl UnsafeUnpin for GainMapLayer
impl UnwindSafe for GainMapLayer
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