Struct ceres_solver::solver::LineSearchDirectionType
source · pub struct LineSearchDirectionType {
pub repr: u32,
}Fields§
§repr: u32Implementations§
source§impl LineSearchDirectionType
impl LineSearchDirectionType
pub const STEEPEST_DESCENT: LineSearchDirectionType = LineSearchDirectionType{ repr: 0,}
pub const NONLINEAR_CONJUGATE_GRADIENT: LineSearchDirectionType = LineSearchDirectionType{ repr: 1,}
pub const LBFGS: LineSearchDirectionType = LineSearchDirectionType{ repr: 2,}
pub const BFGS: LineSearchDirectionType = LineSearchDirectionType{ repr: 3,}
Trait Implementations§
source§impl Clone for LineSearchDirectionType
impl Clone for LineSearchDirectionType
source§fn clone(&self) -> LineSearchDirectionType
fn clone(&self) -> LineSearchDirectionType
Returns a copy 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 moresource§impl ExternType for LineSearchDirectionType
impl ExternType for LineSearchDirectionType
source§impl PartialEq<LineSearchDirectionType> for LineSearchDirectionType
impl PartialEq<LineSearchDirectionType> for LineSearchDirectionType
source§fn eq(&self, other: &LineSearchDirectionType) -> bool
fn eq(&self, other: &LineSearchDirectionType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.