pub struct WeightEntry {
pub src_pixel: usize,
pub weight: f64,
}Expand description
A single weight entry: which source pixel contributes and by how much.
Fields§
§src_pixel: usize§weight: f64Trait Implementations§
Source§impl Clone for WeightEntry
impl Clone for WeightEntry
Source§fn clone(&self) -> WeightEntry
fn clone(&self) -> WeightEntry
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 WeightEntry
impl RefUnwindSafe for WeightEntry
impl Send for WeightEntry
impl Sync for WeightEntry
impl Unpin for WeightEntry
impl UnwindSafe for WeightEntry
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