pub enum LineStyle {
Solid,
Dashed,
DashDot,
}Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LineStyle
impl<'de> Deserialize<'de> for LineStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Model for LineStyle
impl Model for LineStyle
const PARAM_COUNT: u32 = 0
fn serialize_params32(&mut self, _data: &mut Vec<f32>)
fn deserialize_params32(&mut self, _data: &[f32])
fn update32(&mut self, _data: &[f32])
fn update_self(&mut self)
fn serialize_params64(&mut self, _data: &mut Vec<f64>)
fn deserialize_params64(&mut self, _data: &[f64])
fn update64(&mut self, _data: &[f64])
fn serialize_size(&self) -> u32
fn param_symbols(_base: &str, _out: &mut Vec<String>)
fn zero_blocks(&mut self)
fn accumulate_hessian32(&self, _hessian: &mut [f32])
fn accumulate_hessian64(&self, _hessian: &mut [f64])
fn accumulate_hessian_band32( &self, _band: &mut [f32], _kd: usize, ) -> Result<(), BandError>
fn accumulate_hessian_band64( &self, _band: &mut [f64], _kd: usize, ) -> Result<(), BandError>
fn accumulate_hessian_sparse32(&self, _coo: &mut CooMatrix<f32>)
fn accumulate_hessian_sparse64(&self, _coo: &mut CooMatrix<f64>)
fn accumulate_hessian_sparse_direct32(&self, _csc: &mut CscMatrix<f32>)
fn accumulate_hessian_sparse_direct64(&self, _csc: &mut CscMatrix<f64>)
fn accumulate_hessian_sparse_indexed32( &self, _vals: &mut [f32], _positions: &[usize], _cursor: &mut usize, )
fn accumulate_hessian_sparse_indexed64( &self, _vals: &mut [f64], _positions: &[usize], _cursor: &mut usize, )
Source§impl ModelSym for LineStyle
impl ModelSym for LineStyle
type Sym = LineStyleSym
fn sym(_base: &str) -> LineStyleSym
impl Copy for LineStyle
impl StructuralPartialEq for LineStyle
Auto Trait Implementations§
impl Freeze for LineStyle
impl RefUnwindSafe for LineStyle
impl Send for LineStyle
impl Sync for LineStyle
impl Unpin for LineStyle
impl UnsafeUnpin for LineStyle
impl UnwindSafe for LineStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.