pub struct CteRowsMap { /* private fields */ }Expand description
Ordered lexical row bindings. Admitted keys retain their text through every shared name owner, while each exact map node releases its own allowance when removed.
Implementations§
Source§impl CteRowsMap
impl CteRowsMap
pub fn new() -> Self
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn get(&self, name: &str) -> Option<&CteRows>
pub fn get_mut(&mut self, name: &str) -> Option<&mut CteRows>
pub fn contains_key(&self, name: &str) -> bool
pub fn remove(&mut self, name: &str) -> Option<CteRows>
pub fn clear(&mut self)
pub fn iter(&self) -> CteRowsIter<'_> ⓘ
pub fn keys(&self) -> impl ExactSizeIterator<Item = &String>
pub fn values(&self) -> impl ExactSizeIterator<Item = &CteRows>
pub fn insert(&mut self, name: String, rows: CteRows) -> Option<CteRows>
Trait Implementations§
Source§impl Clone for CteRowsMap
impl Clone for CteRowsMap
Source§impl Default for CteRowsMap
impl Default for CteRowsMap
Source§impl Extend<(String, CteRows)> for CteRowsMap
impl Extend<(String, CteRows)> for CteRowsMap
Source§fn extend<I: IntoIterator<Item = (String, CteRows)>>(&mut self, entries: I)
fn extend<I: IntoIterator<Item = (String, CteRows)>>(&mut self, entries: I)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: T)
fn extend_one(&mut self, item: T)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl FromIterator<(String, CteRows)> for CteRowsMap
impl FromIterator<(String, CteRows)> for CteRowsMap
Source§impl Index<&str> for CteRowsMap
impl Index<&str> for CteRowsMap
Source§impl<'a> IntoIterator for &'a CteRowsMap
impl<'a> IntoIterator for &'a CteRowsMap
Auto Trait Implementations§
impl !RefUnwindSafe for CteRowsMap
impl !UnwindSafe for CteRowsMap
impl Freeze for CteRowsMap
impl Send for CteRowsMap
impl Sync for CteRowsMap
impl Unpin for CteRowsMap
impl UnsafeUnpin for CteRowsMap
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more