pub struct ChannelSpec {
pub channels: u8,
pub channel_stride: usize,
pub height: u32,
pub height_stride: usize,
pub width: u32,
pub width_stride: usize,
}
Expand description
The strides of uniformly spaced (color) channels.
Fields§
§channels: u8
§channel_stride: usize
§height: u32
§height_stride: usize
§width: u32
§width_stride: usize
Trait Implementations§
Source§impl Clone for ChannelSpec
impl Clone for ChannelSpec
Source§fn clone(&self) -> ChannelSpec
fn clone(&self) -> ChannelSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChannelSpec
impl Debug for ChannelSpec
Source§impl Hash for ChannelSpec
impl Hash for ChannelSpec
Source§impl PartialEq for ChannelSpec
impl PartialEq for ChannelSpec
impl StructuralPartialEq for ChannelSpec
Auto Trait Implementations§
impl Freeze for ChannelSpec
impl RefUnwindSafe for ChannelSpec
impl Send for ChannelSpec
impl Sync for ChannelSpec
impl Unpin for ChannelSpec
impl UnwindSafe for ChannelSpec
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