#[repr(u8)]pub enum BaselineIndex {
First = 0,
Second = 1,
}
Variants§
Implementations§
Source§impl BaselineIndex
impl BaselineIndex
Trait Implementations§
Source§impl<E: Endianness> BitRead<'_, E> for BaselineIndex
impl<E: Endianness> BitRead<'_, E> for BaselineIndex
Source§fn read(stream: &mut BitReadStream<'_, E>) -> ReadResult<Self>
fn read(stream: &mut BitReadStream<'_, E>) -> ReadResult<Self>
Read the type from stream
Source§impl<E: Endianness> BitWrite<E> for BaselineIndex
impl<E: Endianness> BitWrite<E> for BaselineIndex
Source§fn write(&self, stream: &mut BitWriteStream<'_, E>) -> ReadResult<()>
fn write(&self, stream: &mut BitWriteStream<'_, E>) -> ReadResult<()>
Write the type to stream
Source§impl Clone for BaselineIndex
impl Clone for BaselineIndex
Source§fn clone(&self) -> BaselineIndex
fn clone(&self) -> BaselineIndex
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BaselineIndex
impl Debug for BaselineIndex
Source§impl Default for BaselineIndex
impl Default for BaselineIndex
Source§fn default() -> BaselineIndex
fn default() -> BaselineIndex
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BaselineIndex
impl<'de> Deserialize<'de> for BaselineIndex
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<bool> for BaselineIndex
impl From<bool> for BaselineIndex
Source§impl PartialEq for BaselineIndex
impl PartialEq for BaselineIndex
Source§impl Serialize for BaselineIndex
impl Serialize for BaselineIndex
impl Copy for BaselineIndex
impl Eq for BaselineIndex
impl StructuralPartialEq for BaselineIndex
Auto Trait Implementations§
impl Freeze for BaselineIndex
impl RefUnwindSafe for BaselineIndex
impl Send for BaselineIndex
impl Sync for BaselineIndex
impl Unpin for BaselineIndex
impl UnwindSafe for BaselineIndex
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Encode for Twhere
T: BitWrite<LittleEndian>,
impl<T> Encode for Twhere
T: BitWrite<LittleEndian>,
fn encode( &self, stream: &mut BitWriteStream<'_, LittleEndian>, _state: &ParserState, ) -> Result<(), ParseError>
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