pub struct ScanPartition<L: ScanMatchLabel> {
pub nodes: Vec<L::Node>,
pub label: &'static str,
pub tier_max: usize,
pub name_len_max: usize,
pub path_len_max: usize,
pub count: usize,
/* private fields */
}Fields§
§nodes: Vec<L::Node>§label: &'static str§tier_max: usize§name_len_max: usize§path_len_max: usize§count: usizeImplementations§
Source§impl<L: ScanMatchLabel> ScanPartition<L>
impl<L: ScanMatchLabel> ScanPartition<L>
pub fn calculate_metadata(nodes: &[L::Node]) -> (usize, usize, usize)where
L::Node: ScanAsMetadataNode,
Trait Implementations§
Source§impl<L: Clone + ScanMatchLabel> Clone for ScanPartition<L>
impl<L: Clone + ScanMatchLabel> Clone for ScanPartition<L>
Source§fn clone(&self) -> ScanPartition<L>
fn clone(&self) -> ScanPartition<L>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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<L> Freeze for ScanPartition<L>
impl<L> RefUnwindSafe for ScanPartition<L>
impl<L> Send for ScanPartition<L>
impl<L> Sync for ScanPartition<L>
impl<L> Unpin for ScanPartition<L>
impl<L> UnsafeUnpin for ScanPartition<L>
impl<L> UnwindSafe for ScanPartition<L>
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