pub struct ArcLineParallel {
pub arc: Ref<Arc>,
pub line: Ref<Line>,
pub nid: u32,
pub cid: u32,
pub hb: CrossBlock<Arc, Line, { Arc_PARAM_COUNT }, { Line_PARAM_COUNT }>,
}Fields§
§arc: Ref<Arc>§line: Ref<Line>§nid: u32§cid: u32§hb: CrossBlock<Arc, Line, { Arc_PARAM_COUNT }, { Line_PARAM_COUNT }>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ArcLineParallel
impl<'de> Deserialize<'de> for ArcLineParallel
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 ArcLineParallel
impl Model for ArcLineParallel
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 ArcLineParallel
impl ModelSym for ArcLineParallel
type Sym = ArcLineParallelSym
fn sym(base: &str) -> ArcLineParallelSym
Auto Trait Implementations§
impl Freeze for ArcLineParallel
impl RefUnwindSafe for ArcLineParallel
impl Send for ArcLineParallel
impl Sync for ArcLineParallel
impl Unpin for ArcLineParallel
impl UnsafeUnpin for ArcLineParallel
impl UnwindSafe for ArcLineParallel
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<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.