pub struct Dynamic {
pub bootstrap_method_attr: u16,
pub name_and_type: Index<NameAndType>,
}
Fields§
§bootstrap_method_attr: u16
§name_and_type: Index<NameAndType>
Implementations§
source§impl Dynamic
impl Dynamic
pub fn by<I>(bootstrap_method_attr: u16, name_and_type: I) -> DynamicInserter<I>where
I: Insertable<NameAndType>,
Trait Implementations§
source§impl Insertable<Dynamic> for Dynamic
impl Insertable<Dynamic> for Dynamic
fn insert<Ctx: EncoderContext>( self, context: &mut Ctx ) -> Result<Index<Dynamic>, EncodeError>
source§impl<I: Insertable<NameAndType>> Insertable<Dynamic> for DynamicInserter<I>
impl<I: Insertable<NameAndType>> Insertable<Dynamic> for DynamicInserter<I>
fn insert<Ctx: EncoderContext>( self, context: &mut Ctx ) -> Result<Index<Dynamic>, EncodeError>
source§impl Insertable<Dynamic> for Index<Dynamic>
impl Insertable<Dynamic> for Index<Dynamic>
fn insert<Ctx: EncoderContext>( self, _: &mut Ctx ) -> Result<Index<Dynamic>, EncodeError>
source§impl PartialEq for Dynamic
impl PartialEq for Dynamic
impl Eq for Dynamic
impl StructuralPartialEq for Dynamic
Auto Trait Implementations§
impl Freeze for Dynamic
impl RefUnwindSafe for Dynamic
impl Send for Dynamic
impl Sync for Dynamic
impl Unpin for Dynamic
impl UnwindSafe for Dynamic
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.