pub enum Coord<'a> {
Separated(SeparatedCoord<'a>),
Interleaved(InterleavedCoord<'a>),
}
Expand description
An Arrow equivalent of a Coord
This implements CoordTrait, which you can use to extract data.
Variants§
Separated(SeparatedCoord<'a>)
Separated coordinate
Interleaved(InterleavedCoord<'a>)
Interleaved coordinate
Trait Implementations§
Source§impl CoordTrait for &Coord<'_>
impl CoordTrait for &Coord<'_>
Source§fn dim(&self) -> Dimensions
fn dim(&self) -> Dimensions
Dimensions of the coordinate tuple
Source§fn nth_or_panic(&self, n: usize) -> Self::T
fn nth_or_panic(&self, n: usize) -> Self::T
Access the n’th (0-based) element of the CoordinateTuple.
May panic if n >= DIMENSION.
See also
nth()
.Source§impl CoordTrait for Coord<'_>
impl CoordTrait for Coord<'_>
Source§fn dim(&self) -> Dimensions
fn dim(&self) -> Dimensions
Dimensions of the coordinate tuple
Source§fn nth_or_panic(&self, n: usize) -> Self::T
fn nth_or_panic(&self, n: usize) -> Self::T
Access the n’th (0-based) element of the CoordinateTuple.
May panic if n >= DIMENSION.
See also
nth()
.Source§impl PartialEq<InterleavedCoord<'_>> for Coord<'_>
impl PartialEq<InterleavedCoord<'_>> for Coord<'_>
Source§impl PartialEq<SeparatedCoord<'_>> for Coord<'_>
impl PartialEq<SeparatedCoord<'_>> for Coord<'_>
Auto Trait Implementations§
impl<'a> Freeze for Coord<'a>
impl<'a> RefUnwindSafe for Coord<'a>
impl<'a> Send for Coord<'a>
impl<'a> Sync for Coord<'a>
impl<'a> Unpin for Coord<'a>
impl<'a> UnwindSafe for Coord<'a>
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