Struct stegano_core::media::image::lsb_codec::CodecOptions
source · [−]pub struct CodecOptions {
pub color_channel_step_increment: usize,
pub skip_alpha_channel: bool,
pub concealer: Concealer,
}
Fields
color_channel_step_increment: usize
would move the by step n each iteration, Note: the alpha channel is count as regular channel
skip_alpha_channel: bool
if true no alpha channel would be used for encoding
concealer: Concealer
the concealer strategy
Implementations
sourceimpl CodecOptions
impl CodecOptions
pub fn get_color_channel_step_increment(&self) -> usize
pub fn get_skip_alpha_channel(&self) -> bool
Trait Implementations
sourceimpl Debug for CodecOptions
impl Debug for CodecOptions
Auto Trait Implementations
impl RefUnwindSafe for CodecOptions
impl Send for CodecOptions
impl Sync for CodecOptions
impl Unpin for CodecOptions
impl UnwindSafe for CodecOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian()
.
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian()
.
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian()
.