Struct v9::table::example::cheeses::write::__Write[][src]

pub struct __Write<'a> {
    pub quantity: quantity<'a>,
    pub stinky: stinky<'a>,
    // some fields omitted
}

Structural access to the table. You can push or delete rows.

However, existing elements can’t be modified.

Fields

quantity: quantity<'a>stinky: stinky<'a>

Implementations

impl<'a> Write<'a>[src]

pub fn clone_row(&self, i: impl 'a + Check<M = Marker>) -> Row[src]

pub fn ref_row(&self, i: impl 'a + Check<M = Marker>) -> RowRef<'_>[src]

pub fn len(&self) -> usize[src]

pub fn ids(&self) -> &Ids[src]

pub fn ids_mut(&mut self) -> &mut Ids[src]

pub fn reserve(&mut self, n: usize)[src]

pub fn push(&mut self, row: Row) -> Id[src]

pub unsafe fn push_immediate(&mut self, row: Row)[src]

pub unsafe fn set_immediate(&mut self, i: usize, row: Row)[src]

pub fn push_contiguous(&mut self, rows: impl IntoIterator<Item = Row>) -> Range[src]

pub fn borrow(&self) -> Read<'_>[src]

pub fn remove(&mut self, i: impl Into<Id>)[src]

pub fn iter_all(&self) -> IdRange<'_, Id>[src]

pub fn iter(&self) -> CheckedIter<'_, Marker>

Notable traits for CheckedIter<'a, M>

impl<'a, M: TableMarker> Iterator for CheckedIter<'a, M> type Item = CheckedId<'a, M>;
[src]

pub fn clear(&mut self)[src]

Trait Implementations

impl<'a> Extract for __Write<'a>[src]

type Owned = __OwnedContext

type Cleanup = __OwnedCleanup

Default is (), which does nothing.

Auto Trait Implementations

impl<'a> !RefUnwindSafe for __Write<'a>

impl<'a> Send for __Write<'a>

impl<'a> Sync for __Write<'a>

impl<'a> Unpin for __Write<'a>

impl<'a> !UnwindSafe for __Write<'a>

Blanket Implementations

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

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

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

impl<X> ForeignKey for X[src]

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

impl<T, U> Into<U> for T where
    U: From<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.