pub struct SealedBindings(/* private fields */);Expand description
Exact child bindings. No ambient inheritance is representable.
Implementations§
Source§impl SealedBindings
impl SealedBindings
Sourcepub fn try_from_entries(
entries: impl IntoIterator<Item = (String, BindingValue)>,
) -> Result<Self>
pub fn try_from_entries( entries: impl IntoIterator<Item = (String, BindingValue)>, ) -> Result<Self>
Validates names, values, duplicates, count, and total bytes.
Sourcepub fn literals(
entries: impl IntoIterator<Item = (String, String)>,
) -> Result<Self>
pub fn literals( entries: impl IntoIterator<Item = (String, String)>, ) -> Result<Self>
Creates explicit literal bindings, for boot-supplied compatibility data.
Sourcepub fn iter(&self) -> impl Iterator<Item = (&str, &BindingValue)>
pub fn iter(&self) -> impl Iterator<Item = (&str, &BindingValue)>
Iterates exact bindings for capsule rendering.
Trait Implementations§
Source§impl Clone for SealedBindings
impl Clone for SealedBindings
Source§fn clone(&self) -> SealedBindings
fn clone(&self) -> SealedBindings
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 Debug for SealedBindings
impl Debug for SealedBindings
Source§impl Default for SealedBindings
impl Default for SealedBindings
Source§fn default() -> SealedBindings
fn default() -> SealedBindings
Returns the “default value” for a type. Read more
impl Eq for SealedBindings
Source§impl PartialEq for SealedBindings
impl PartialEq for SealedBindings
impl StructuralPartialEq for SealedBindings
Auto Trait Implementations§
impl Freeze for SealedBindings
impl RefUnwindSafe for SealedBindings
impl Send for SealedBindings
impl Sync for SealedBindings
impl Unpin for SealedBindings
impl UnsafeUnpin for SealedBindings
impl UnwindSafe for SealedBindings
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