Struct timely::container::flatcontainer::impls::columns::ReadColumns

source ·
pub struct ReadColumns<'a, R>(/* private fields */)
where
    R: Region;
Expand description

Read the values of a row.

Implementations§

source§

impl<'a, R> ReadColumns<'a, R>
where R: Region,

source

pub fn iter(&'a self) -> ReadColumnsIter<'a, R>

Iterate the individual values of a row.

source

pub fn get(&self, offset: usize) -> <R as Region>::ReadItem<'a>

Get the element at offset.

source

pub fn len(&self) -> usize

Returns the length of this row.

source

pub fn is_empty(&self) -> bool

Returns true if this row is empty.

Trait Implementations§

source§

impl<'a, R> Clone for ReadColumns<'a, R>
where R: Region,

source§

fn clone(&self) -> ReadColumns<'a, R>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a, R> Debug for ReadColumns<'a, R>
where R: Region, <R as Region>::ReadItem<'a>: Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'a, R> IntoIterator for &ReadColumns<'a, R>
where R: Region,

§

type Item = <R as Region>::ReadItem<'a>

The type of the elements being iterated over.
§

type IntoIter = ReadColumnsIter<'a, R>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> <&ReadColumns<'a, R> as IntoIterator>::IntoIter

Creates an iterator from a value. Read more
source§

impl<'a, R> IntoOwned<'a> for ReadColumns<'a, R>
where R: Region,

§

type Owned = Vec<<R as Region>::Owned>

Owned type into which this type can be converted.
source§

fn into_owned(self) -> <ReadColumns<'a, R> as IntoOwned<'a>>::Owned

Conversion from an instance of this type to the owned type.
source§

fn clone_onto(self, other: &mut <ReadColumns<'a, R> as IntoOwned<'a>>::Owned)

Clones self onto an existing instance of the owned type.
source§

fn borrow_as( owned: &'a <ReadColumns<'a, R> as IntoOwned<'a>>::Owned, ) -> ReadColumns<'a, R>

Borrows an owned instance as oneself.
source§

impl<R> Push<ReadColumns<'_, R>> for ColumnsRegion<R>
where R: for<'a> Region + for<'a> Push<<R as Region>::ReadItem<'a>>,

source§

fn push( &mut self, item: ReadColumns<'_, R>, ) -> <ColumnsRegion<R> as Region>::Index

Push item into self, returning an index that allows to look up the corresponding read item.
source§

impl<'a, R> Copy for ReadColumns<'a, R>
where R: Region,

Auto Trait Implementations§

§

impl<'a, R> Freeze for ReadColumns<'a, R>

§

impl<'a, R> RefUnwindSafe for ReadColumns<'a, R>

§

impl<'a, R> Send for ReadColumns<'a, R>
where <R as Region>::Owned: Sync, R: Sync, <R as Region>::Index: Sync,

§

impl<'a, R> Sync for ReadColumns<'a, R>
where <R as Region>::Owned: Sync, R: Sync, <R as Region>::Index: Sync,

§

impl<'a, R> Unpin for ReadColumns<'a, R>

§

impl<'a, R> UnwindSafe for ReadColumns<'a, R>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ProgressEventTimestamp for T
where T: Data + Debug + Any,

source§

fn as_any(&self) -> &(dyn Any + 'static)

Upcasts this ProgressEventTimestamp to Any. Read more
source§

fn type_name(&self) -> &'static str

Returns the name of the concrete type of this object. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> Data for T
where T: Clone + 'static,