pub struct LodfMatrixRequest {
pub branch_indices: Option<Vec<usize>>,
}Expand description
Advanced request for one-shot dense all-pairs LODF computation.
Fields§
§branch_indices: Option<Vec<usize>>Branch indices for the square LODF matrix. None uses all branches.
Implementations§
Source§impl LodfMatrixRequest
impl LodfMatrixRequest
Sourcepub fn for_branches(branch_indices: &[usize]) -> Self
pub fn for_branches(branch_indices: &[usize]) -> Self
Create a request for the given branch set.
Sourcepub fn with_branches(self, branch_indices: &[usize]) -> Self
pub fn with_branches(self, branch_indices: &[usize]) -> Self
Restrict to specific branches.
Trait Implementations§
Source§impl Clone for LodfMatrixRequest
impl Clone for LodfMatrixRequest
Source§fn clone(&self) -> LodfMatrixRequest
fn clone(&self) -> LodfMatrixRequest
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 moreSource§impl Debug for LodfMatrixRequest
impl Debug for LodfMatrixRequest
Source§impl Default for LodfMatrixRequest
impl Default for LodfMatrixRequest
Source§fn default() -> LodfMatrixRequest
fn default() -> LodfMatrixRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for LodfMatrixRequest
impl PartialEq for LodfMatrixRequest
impl StructuralPartialEq for LodfMatrixRequest
Auto Trait Implementations§
impl Freeze for LodfMatrixRequest
impl RefUnwindSafe for LodfMatrixRequest
impl Send for LodfMatrixRequest
impl Sync for LodfMatrixRequest
impl Unpin for LodfMatrixRequest
impl UnsafeUnpin for LodfMatrixRequest
impl UnwindSafe for LodfMatrixRequest
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<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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