pub struct CostMatrixBuilderOptions { /* private fields */ }Expand description
Builder for CostMatrixBuilder.
Implementations§
Source§impl CostMatrixBuilderOptions
impl CostMatrixBuilderOptions
pub fn encoding<VALUE: Into<Cow<'static, str>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn compress_algorithm(&mut self, value: Algorithm) -> &mut Self
Sourcepub fn builder(
&self,
) -> Result<CostMatrixBuilder, CostMatrixBuilderOptionsError>
pub fn builder( &self, ) -> Result<CostMatrixBuilder, CostMatrixBuilderOptionsError>
Trait Implementations§
Source§impl Clone for CostMatrixBuilderOptions
impl Clone for CostMatrixBuilderOptions
Source§fn clone(&self) -> CostMatrixBuilderOptions
fn clone(&self) -> CostMatrixBuilderOptions
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for CostMatrixBuilderOptions
impl RefUnwindSafe for CostMatrixBuilderOptions
impl Send for CostMatrixBuilderOptions
impl Sync for CostMatrixBuilderOptions
impl Unpin for CostMatrixBuilderOptions
impl UnwindSafe for CostMatrixBuilderOptions
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