pub struct JaggedIndex {
pub f: usize,
pub i: usize,
}
Expand description
Index of an element in a jagged array.
Fields§
§f: usize
Index of the array containing the element.
i: usize
Index of the element within the array containing it.
Implementations§
Trait Implementations§
Source§impl Clone for JaggedIndex
impl Clone for JaggedIndex
Source§fn clone(&self) -> JaggedIndex
fn clone(&self) -> JaggedIndex
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 JaggedIndex
impl Debug for JaggedIndex
Source§impl Default for JaggedIndex
impl Default for JaggedIndex
Source§fn default() -> JaggedIndex
fn default() -> JaggedIndex
Returns the “default value” for a type. Read more
Source§impl PartialEq for JaggedIndex
impl PartialEq for JaggedIndex
Source§impl PartialOrd for JaggedIndex
impl PartialOrd for JaggedIndex
impl StructuralPartialEq for JaggedIndex
Auto Trait Implementations§
impl Freeze for JaggedIndex
impl RefUnwindSafe for JaggedIndex
impl Send for JaggedIndex
impl Sync for JaggedIndex
impl Unpin for JaggedIndex
impl UnwindSafe for JaggedIndex
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