fn install_trait(
        &mut self,
        activation: &mut Activation<'_, 'gc, '_>,
        trait_entry: Trait<'gc>,
        receiver: Object<'gc>,
    ) -> Result<Value<'gc>, Error> {
        self.install_foreign_trait(activation, trait_entry, self.get_scope(), receiver)
    }
/// Install a trait from the current object.
///
/// This function should only be called once, as reinstalling a trait may
/// also unset already set properties. It may either be called immediately
/// when the object is instantiated or lazily; this behavior is ostensibly
/// controlled by the `lazy_init` flag provided to `load_abc`, but in
/// practice every version of Flash and Animate uses lazy trait
/// installation.
///
/// The `reciever` property allows specifying the object that methods are
/// bound to. It should always be `self` except when doing things with
/// `super`, which needs to create bound methods pointing to a different
/// object.
///
/// The value of the trait at the time of installation will be returned
/// here.
Install a trait from the current object.
This function should only be called once, as reinstalling a trait may
also unset already set properties. It may either be called immediately
when the object is instantiated or lazily; this behavior is ostensibly
controlled by the `lazy_init` flag provided to `load_abc`, but in
practice every version of Flash and Animate uses lazy trait
installation.

The `reciever` property allows specifying the object that methods are
bound to. It should always be `self` except when doing things with
`super`, which needs to create bound methods pointing to a different
object.

The value of the trait at the time of installation will be returned
here.
Install a trait from the current object . This function should only be called once as reinstalling a trait may also unset already set properties . It may either be called immediately when the object is instantiated or lazily ; this behavior is ostensibly controlled by the ` lazy_init ` flag provided to ` load_abc ` but in practice every version of Flash and Animate uses lazy trait installation . The ` reciever ` property allows specifying the object that methods are bound to . It should always be ` self ` except when doing things with ` super ` which needs to create bound methods pointing to a different object . The value of the trait at the time of installation will be returned here .
fn install_trait(
        &mut self,
        activation: &mut Activation<'_, 'gc, '_>,
        trait_entry: Trait<'gc>,
        receiver: Object<'gc>,
    ) -> Result<Value<'gc>, Error> {
        self.install_foreign_trait(activation, trait_entry, self.get_scope(), receiver)
    }
fn install_trait ( & mut self , activation : & mut Activation < ' _ , ' gc , ' _ > , trait_entry : Trait < ' gc > , receiver : Object < ' gc > , ) -> Result < Value < ' gc > , Error > { self . install_foreign_trait ( activation , trait_entry , self . get_scope ( ) , receiver ) }
Install a trait from the current object.
Install a trait from the current object .
&mut self
activation
&mut Activation<'_, 'gc, '_>
trait_entry
Trait<'gc>
receiver
Object<'gc>
&mut self
activation
&mut Activation<'_, 'gc, '_>
trait_entry
Trait<'gc>
receiver
Object<'gc>