pub struct Layer { /* private fields */ }
Expand description
Description of an OutputLayer
node
inside a flat, raw pixel.
Implementations§
source§impl Layer
impl Layer
sourcepub fn depth(&self) -> LayerDepth
Available on crate feature output
only.
pub fn depth(&self) -> LayerDepth
output
only.The depth of this layer.
sourcepub fn offset(&self) -> usize
Available on crate feature output
only.
pub fn offset(&self) -> usize
output
only.The channel offset of the layer inside the PixelFormat
.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnwindSafe for Layer
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