pub struct RangeListInclusive<Idx> {
pub ranges: Vec<RangeInclusive<Idx>>,
}
Fields§
§ranges: Vec<RangeInclusive<Idx>>
Implementations§
Source§impl<Idx: Copy + PartialOrd<Idx> + Add<Output = Idx> + Sub<Output = Idx> + One + Sum> RangeListInclusive<Idx>
impl<Idx: Copy + PartialOrd<Idx> + Add<Output = Idx> + Sub<Output = Idx> + One + Sum> RangeListInclusive<Idx>
pub fn calculate_total_port_count(&self) -> Idx
Trait Implementations§
Source§impl<Idx: Clone> Clone for RangeListInclusive<Idx>
impl<Idx: Clone> Clone for RangeListInclusive<Idx>
Source§fn clone(&self) -> RangeListInclusive<Idx>
fn clone(&self) -> RangeListInclusive<Idx>
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<Idx: Debug> Debug for RangeListInclusive<Idx>
impl<Idx: Debug> Debug for RangeListInclusive<Idx>
Source§impl<Idx: PartialEq> PartialEq for RangeListInclusive<Idx>
impl<Idx: PartialEq> PartialEq for RangeListInclusive<Idx>
impl<Idx> StructuralPartialEq for RangeListInclusive<Idx>
Auto Trait Implementations§
impl<Idx> Freeze for RangeListInclusive<Idx>
impl<Idx> RefUnwindSafe for RangeListInclusive<Idx>where
Idx: RefUnwindSafe,
impl<Idx> Send for RangeListInclusive<Idx>where
Idx: Send,
impl<Idx> Sync for RangeListInclusive<Idx>where
Idx: Sync,
impl<Idx> Unpin for RangeListInclusive<Idx>where
Idx: Unpin,
impl<Idx> UnwindSafe for RangeListInclusive<Idx>where
Idx: UnwindSafe,
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