pub struct EncodeQuality {
pub score: u8,
pub hint_key: String,
pub mode: u8,
}Expand description
Encode quality result returned alongside stego bytes.
Fields§
§score: u8Overall score 0-100.
hint_key: StringLocalization key for a contextual hint (e.g. “hint_high_rate”).
mode: u8Mode: 1 = Ghost (stealth), 2 = Armor (robustness).
Trait Implementations§
Source§impl Clone for EncodeQuality
impl Clone for EncodeQuality
Source§fn clone(&self) -> EncodeQuality
fn clone(&self) -> EncodeQuality
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EncodeQuality
impl RefUnwindSafe for EncodeQuality
impl Send for EncodeQuality
impl Sync for EncodeQuality
impl Unpin for EncodeQuality
impl UnsafeUnpin for EncodeQuality
impl UnwindSafe for EncodeQuality
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