Struct rqjs_cli::modules::encoding::text_encoder::TextEncoder
source · pub struct TextEncoder {}Implementations§
source§impl TextEncoder
impl TextEncoder
Trait Implementations§
source§impl<'js> ConstructorCreator<'js, TextEncoder> for ConstructorCreate<TextEncoder>
impl<'js> ConstructorCreator<'js, TextEncoder> for ConstructorCreate<TextEncoder>
fn create_constructor(&self, ctx: &Ctx<'js>) -> Result<Option<Constructor<'js>>>
source§impl Default for TextEncoder
impl Default for TextEncoder
source§impl<'js> FromJs<'js> for TextEncoderwhere
for<'a> CloneWrapper<'a, Self>: CloneTrait<Self>,
impl<'js> FromJs<'js> for TextEncoderwhere
for<'a> CloneWrapper<'a, Self>: CloneTrait<Self>,
source§impl<'js> IntoJs<'js> for TextEncoder
impl<'js> IntoJs<'js> for TextEncoder
source§impl<'js> JsClass<'js> for TextEncoder
impl<'js> JsClass<'js> for TextEncoder
source§fn constructor(ctx: &Ctx<'js>) -> Result<Option<Constructor<'js>>>
fn constructor(ctx: &Ctx<'js>) -> Result<Option<Constructor<'js>>>
Returns a predefined constructor for this specific class type if there is one.
source§impl MethodImplementor<TextEncoder> for MethodImpl<TextEncoder>
impl MethodImplementor<TextEncoder> for MethodImpl<TextEncoder>
Auto Trait Implementations§
impl Freeze for TextEncoder
impl RefUnwindSafe for TextEncoder
impl Send for TextEncoder
impl Sync for TextEncoder
impl Unpin for TextEncoder
impl UnwindSafe for TextEncoder
Blanket Implementations§
source§impl<'js, T> AsProperty<'js, T> for Twhere
T: IntoJs<'js>,
impl<'js, T> AsProperty<'js, T> for Twhere
T: IntoJs<'js>,
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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