Struct rustc_transmute::layout::dfa::Transitions
source · pub(crate) struct Transitions<R>where
R: Ref,{
byte_transitions: FxIndexMap<Byte, State>,
ref_transitions: FxIndexMap<R, State>,
}
Fields§
§byte_transitions: FxIndexMap<Byte, State>
§ref_transitions: FxIndexMap<R, State>
Implementations§
source§impl<R> Transitions<R>where
R: Ref,
impl<R> Transitions<R>where R: Ref,
fn insert(&mut self, transition: Transition<R>, state: State)
Trait Implementations§
source§impl<R> Clone for Transitions<R>where
R: Ref + Clone,
impl<R> Clone for Transitions<R>where R: Ref + Clone,
source§fn clone(&self) -> Transitions<R>
fn clone(&self) -> Transitions<R>
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<R> Default for Transitions<R>where
R: Ref,
impl<R> Default for Transitions<R>where R: Ref,
source§impl<R> PartialEq<Transitions<R>> for Transitions<R>where
R: Ref + PartialEq,
impl<R> PartialEq<Transitions<R>> for Transitions<R>where R: Ref + PartialEq,
source§fn eq(&self, other: &Transitions<R>) -> bool
fn eq(&self, other: &Transitions<R>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<R> StructuralPartialEq for Transitions<R>where R: Ref,
Auto Trait Implementations§
impl<R> RefUnwindSafe for Transitions<R>where R: RefUnwindSafe,
impl<R> Send for Transitions<R>where R: Send,
impl<R> Sync for Transitions<R>where R: Sync,
impl<R> Unpin for Transitions<R>where R: Unpin,
impl<R> UnwindSafe for Transitions<R>where R: UnwindSafe,
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 112 bytes