pub struct BindingNameSet(/* private fields */);Implementations§
Source§impl BindingNameSet
impl BindingNameSet
pub fn new() -> Self
pub fn contains(&self, name: &str) -> bool
pub fn contains_name(&self, name: RelationName<'_>) -> bool
pub fn insert(&mut self, name: String) -> bool
pub fn remove(&mut self, name: &str) -> bool
pub fn extract(&mut self, name: &str) -> Self
pub fn append(&mut self, entries: Self)
pub fn clear(&mut self)
pub fn is_empty(&self) -> bool
pub fn iter(&self) -> impl ExactSizeIterator<Item = &String>
pub fn insert_with_control( &mut self, name: &str, control: &ProductionControl<'_>, ) -> Result<bool, SQLError>
pub fn copy_with_control( &self, control: &ProductionControl<'_>, ) -> Result<Self, SQLError>
Trait Implementations§
Source§impl Clone for BindingNameSet
impl Clone for BindingNameSet
Source§impl Default for BindingNameSet
impl Default for BindingNameSet
Source§impl Extend<String> for BindingNameSet
impl Extend<String> for BindingNameSet
Source§fn extend<I: IntoIterator<Item = String>>(&mut self, names: I)
fn extend<I: IntoIterator<Item = String>>(&mut self, names: 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> for BindingNameSet
impl FromIterator<String> for BindingNameSet
Auto Trait Implementations§
impl Freeze for BindingNameSet
impl RefUnwindSafe for BindingNameSet
impl Send for BindingNameSet
impl Sync for BindingNameSet
impl Unpin for BindingNameSet
impl UnsafeUnpin for BindingNameSet
impl UnwindSafe for BindingNameSet
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