pub struct MaskResult {
pub sequence: Vec<u8>,
pub regions: Vec<MaskedRegion>,
pub masked_fraction: f64,
}Expand description
Result of applying a mask to a sequence.
Fields§
§sequence: Vec<u8>The masked sequence (same length as input).
regions: Vec<MaskedRegion>Regions that were masked.
masked_fraction: f64Fraction of the sequence that was masked, in [0.0, 1.0].
Trait Implementations§
Source§impl Clone for MaskResult
impl Clone for MaskResult
Source§fn clone(&self) -> MaskResult
fn clone(&self) -> MaskResult
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 MaskResult
impl RefUnwindSafe for MaskResult
impl Send for MaskResult
impl Sync for MaskResult
impl Unpin for MaskResult
impl UnsafeUnpin for MaskResult
impl UnwindSafe for MaskResult
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