pub struct MaskedRegion {
pub start: usize,
pub end: usize,
pub score: f64,
pub source: MaskSource,
}Expand description
A region identified for masking.
Fields§
§start: usizeStart position (0-indexed, inclusive).
end: usizeEnd position (0-indexed, exclusive).
score: f64Score (algorithm-dependent).
source: MaskSourceWhich algorithm found this region.
Trait Implementations§
Source§impl Clone for MaskedRegion
impl Clone for MaskedRegion
Source§fn clone(&self) -> MaskedRegion
fn clone(&self) -> MaskedRegion
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 MaskedRegion
impl RefUnwindSafe for MaskedRegion
impl Send for MaskedRegion
impl Sync for MaskedRegion
impl Unpin for MaskedRegion
impl UnsafeUnpin for MaskedRegion
impl UnwindSafe for MaskedRegion
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