[][src]Struct analytic::partition::ordered_interval_partitions::OrderedIntervalPartitions

pub struct OrderedIntervalPartitions<E: Integer + Copy> { /* fields omitted */ }

Methods

impl<E: Integer + Copy> OrderedIntervalPartitions<E>[src]

pub fn from_vec(
    partitions: Vec<ContiguousIntegerSet<E>>,
    desired_order: PartitionOrder
) -> OrderedIntervalPartitions<E>
[src]

pub fn from_vec_with_trusted_order(
    partitions: Vec<ContiguousIntegerSet<E>>,
    existing_order: PartitionOrder
) -> OrderedIntervalPartitions<E>
[src]

pub fn get_order(&self) -> PartitionOrder[src]

impl<E: Integer + Copy + Hash> OrderedIntervalPartitions<E>[src]

pub fn get_partition_containing(
    &self,
    subinterval: &ContiguousIntegerSet<E>
) -> Option<(usize, ContiguousIntegerSet<E>)>
[src]

if there is a partition containing the subinterval, returns a tuple (partition_index, partition)

Auto Trait Implementations

impl<E> Sync for OrderedIntervalPartitions<E> where
    E: Sync

impl<E> Unpin for OrderedIntervalPartitions<E> where
    E: Unpin

impl<E> Send for OrderedIntervalPartitions<E> where
    E: Send

impl<E> UnwindSafe for OrderedIntervalPartitions<E> where
    E: UnwindSafe

impl<E> RefUnwindSafe for OrderedIntervalPartitions<E> where
    E: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,