Struct cranelift_codegen::ir::entities::JumpTable [−][src]
pub struct JumpTable(_);
An opaque reference to a jump table.
Methods
impl JumpTable
[src]
impl JumpTable
pub fn with_number(n: u32) -> Option<Self>
[src]
pub fn with_number(n: u32) -> Option<Self>
Create a new jump table reference from its number.
This method is for use by the parser.
Trait Implementations
impl Copy for JumpTable
[src]
impl Copy for JumpTable
impl Clone for JumpTable
[src]
impl Clone for JumpTable
fn clone(&self) -> JumpTable
[src]
fn clone(&self) -> JumpTable
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for JumpTable
[src]
impl PartialEq for JumpTable
fn eq(&self, other: &JumpTable) -> bool
[src]
fn eq(&self, other: &JumpTable) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &JumpTable) -> bool
[src]
fn ne(&self, other: &JumpTable) -> bool
This method tests for !=
.
impl Eq for JumpTable
[src]
impl Eq for JumpTable
impl Hash for JumpTable
[src]
impl Hash for JumpTable
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl EntityRef for JumpTable
impl EntityRef for JumpTable
fn new(index: usize) -> Self
fn new(index: usize) -> Self
Create a new entity reference from a small integer. This should crash if the requested index is not representable. Read more
fn index(self) -> usize
fn index(self) -> usize
Get the index that was used to create this entity reference.
impl ReservedValue for JumpTable
impl ReservedValue for JumpTable
fn reserved_value() -> JumpTable
fn reserved_value() -> JumpTable
Create an instance of the reserved value.
impl Display for JumpTable
impl Display for JumpTable
impl Debug for JumpTable
impl Debug for JumpTable
impl From<JumpTable> for AnyEntity
[src]
impl From<JumpTable> for AnyEntity