#[repr(C)]pub struct NucleusFeature {
pub label: u16,
pub area: u32,
pub circularity_x1000: u16,
pub axis_ratio_x1000: u16,
pub cx: u32,
pub cy: u32,
}Expand description
Fixed-layout region feature (no heap).
Fields§
§label: u16§area: u32§circularity_x1000: u16Circularity × 1000 (4πA / P²). Perfect disk ≈ 1000.
axis_ratio_x1000: u16Major/minor axis ratio × 1000 from 2D PCA eigenvalues (disk ≈ 1000).
cx: u32Centroid x (pixel units).
cy: u32Centroid y (pixel units).
Trait Implementations§
Source§impl Clone for NucleusFeature
impl Clone for NucleusFeature
Source§fn clone(&self) -> NucleusFeature
fn clone(&self) -> NucleusFeature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NucleusFeature
Source§impl Debug for NucleusFeature
impl Debug for NucleusFeature
Source§impl Default for NucleusFeature
impl Default for NucleusFeature
Source§fn default() -> NucleusFeature
fn default() -> NucleusFeature
Returns the “default value” for a type. Read more
Source§impl PartialEq for NucleusFeature
impl PartialEq for NucleusFeature
impl StructuralPartialEq for NucleusFeature
Auto Trait Implementations§
impl Freeze for NucleusFeature
impl RefUnwindSafe for NucleusFeature
impl Send for NucleusFeature
impl Sync for NucleusFeature
impl Unpin for NucleusFeature
impl UnsafeUnpin for NucleusFeature
impl UnwindSafe for NucleusFeature
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.