Enum mozjs::jsapi::SmallestEncoding
source · #[repr(i32)]pub enum SmallestEncoding {
ASCII,
Latin1,
UTF16,
}
Variants§
Trait Implementations§
source§impl Clone for SmallestEncoding
impl Clone for SmallestEncoding
source§fn clone(&self) -> SmallestEncoding
fn clone(&self) -> SmallestEncoding
Returns a copy of the value. Read more
1.0.0 · 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 SmallestEncoding
impl Debug for SmallestEncoding
source§impl Hash for SmallestEncoding
impl Hash for SmallestEncoding
source§impl PartialEq<SmallestEncoding> for SmallestEncoding
impl PartialEq<SmallestEncoding> for SmallestEncoding
source§fn eq(&self, other: &SmallestEncoding) -> bool
fn eq(&self, other: &SmallestEncoding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SmallestEncoding
impl Eq for SmallestEncoding
impl StructuralEq for SmallestEncoding
impl StructuralPartialEq for SmallestEncoding
Auto Trait Implementations§
impl RefUnwindSafe for SmallestEncoding
impl Send for SmallestEncoding
impl Sync for SmallestEncoding
impl Unpin for SmallestEncoding
impl UnwindSafe for SmallestEncoding
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