pub struct PlotPoint {
pub x: f64,
pub y: f64,
pub class: i32,
pub is_support_vector: bool,
pub alpha_value: Option<f64>,
pub margin_type: MarginType,
}Expand description
Point data for visualization
Fields§
§x: f64§y: f64§class: i32§is_support_vector: bool§alpha_value: Option<f64>§margin_type: MarginTypeTrait Implementations§
Auto Trait Implementations§
impl Freeze for PlotPoint
impl RefUnwindSafe for PlotPoint
impl Send for PlotPoint
impl Sync for PlotPoint
impl Unpin for PlotPoint
impl UnsafeUnpin for PlotPoint
impl UnwindSafe for PlotPoint
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
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,
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