pub struct ProjectedBindings { /* private fields */ }Implementations§
Source§impl ProjectedBindings
impl ProjectedBindings
pub fn new() -> Self
pub fn insert(&mut self, name: impl Into<String>, value: ProjectedValue)
pub fn try_insert( &mut self, name: impl Into<String>, value: ProjectedValue, ) -> Result<(), ProjectedBindingError>
pub fn get(&self, name: &str) -> Option<ProjectedValue>
pub fn names(&self) -> impl Iterator<Item = String> + '_
Trait Implementations§
Source§impl Clone for ProjectedBindings
impl Clone for ProjectedBindings
Source§fn clone(&self) -> ProjectedBindings
fn clone(&self) -> ProjectedBindings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ProjectedBindings
impl Default for ProjectedBindings
Source§fn default() -> ProjectedBindings
fn default() -> ProjectedBindings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ProjectedBindings
impl !UnwindSafe for ProjectedBindings
impl Freeze for ProjectedBindings
impl Send for ProjectedBindings
impl Sync for ProjectedBindings
impl Unpin for ProjectedBindings
impl UnsafeUnpin for ProjectedBindings
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