pub type BuildIdCharVector = u8;
Expand description
Vector of characters used for holding build ids.
Trait Implementations§
source§impl FromJSValConvertible for u8
impl FromJSValConvertible for u8
§type Config = ConversionBehavior
type Config = ConversionBehavior
Optional configurable behaviour switch; use () for no configuration.
source§unsafe fn from_jsval(
cx: *mut JSContext,
val: Handle<'_, Value>,
option: ConversionBehavior
) -> Result<ConversionResult<u8>, ()>
unsafe fn from_jsval( cx: *mut JSContext, val: Handle<'_, Value>, option: ConversionBehavior ) -> Result<ConversionResult<u8>, ()>
Convert
val
to type Self
.
Optional configuration of type T
can be passed as the option
argument.
If it returns Err(())
, a JSAPI exception is pending.
If it returns Ok(Failure(reason))
, there is no pending JSAPI exception.1.0.0 · source§impl Ord for u8
impl Ord for u8
source§impl PartialEq<Value> for u8
impl PartialEq<Value> for u8
1.0.0 · source§impl PartialOrd<u8> for u8
impl PartialOrd<u8> for u8
source§fn le(&self, other: &u8) -> bool
fn le(&self, other: &u8) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<R> ReadEndian<u8> for Rwhere
R: Read,
impl<R> ReadEndian<u8> for Rwhere R: Read,
source§fn read_from_little_endian_into(&mut self, value: &mut u8) -> Result<(), Error>
fn read_from_little_endian_into(&mut self, value: &mut u8) -> Result<(), Error>
Read into the supplied reference. Acts the same as
std::io::Read::read_exact
.source§fn read_from_big_endian_into(&mut self, value: &mut u8) -> Result<(), Error>
fn read_from_big_endian_into(&mut self, value: &mut u8) -> Result<(), Error>
Read into the supplied reference. Acts the same as
std::io::Read::read_exact
.source§fn read_from_native_endian_into(&mut self, value: &mut T) -> Result<(), Error>
fn read_from_native_endian_into(&mut self, value: &mut T) -> Result<(), Error>
Read into the supplied reference. Acts the same as
std::io::Read::read_exact
.source§fn read_from_little_endian(&mut self) -> Result<T, Error>where
T: Default,
fn read_from_little_endian(&mut self) -> Result<T, Error>where T: Default,
Read the byte value of the inferred type
source§impl ToJSValConvertible for u8
impl ToJSValConvertible for u8
source§impl<W> WriteEndian<u8> for Wwhere
W: Write,
impl<W> WriteEndian<u8> for Wwhere W: Write,
source§fn write_as_little_endian(&mut self, value: &u8) -> Result<(), Error>
fn write_as_little_endian(&mut self, value: &u8) -> Result<(), Error>
Write the byte value of the specified reference, converting it to little endianness