pub type BasicBlocks = IndexVec<BasicBlock, BasicBlockData>;
Aliased Type§
struct BasicBlocks {
pub raw: Vec<BasicBlockData>,
_marker: PhantomData<fn(_: &BasicBlock)>,
}
Fields§
§raw: Vec<BasicBlockData>
§_marker: PhantomData<fn(_: &BasicBlock)>
Implementations
source§impl<I: Idx, T: Sized> IndexVec<I, T>
impl<I: Idx, T: Sized> IndexVec<I, T>
pub fn into_iter_enumerated( self, ) -> impl DoubleEndedIterator<Item = (I, T)> + ExactSizeIterator
pub fn into_iter(self) -> impl DoubleEndedIterator<Item = T> + ExactSizeIterator
Trait Implementations
source§impl<'de, I: 'static, T> Deserialize<'de> for IndexVec<I, T>where
T: Deserialize<'de> + 'static,
impl<'de, I: 'static, T> Deserialize<'de> for IndexVec<I, T>where
T: Deserialize<'de> + 'static,
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<I, T> FromIterator<T> for IndexVec<I, T>where
I: Idx,
impl<I, T> FromIterator<T> for IndexVec<I, T>where
I: Idx,
source§fn from_iter<It: IntoIterator<Item = T>>(iter: It) -> Self
fn from_iter<It: IntoIterator<Item = T>>(iter: It) -> Self
Creates a value from an iterator. Read more
source§impl<I: 'static + JsonSchema, T: 'static + JsonSchema> JsonSchema for IndexVec<I, T>
impl<I: 'static + JsonSchema, T: 'static + JsonSchema> JsonSchema for IndexVec<I, T>
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl<I: Ord + 'static, T: Ord + 'static> Ord for IndexVec<I, T>
impl<I: Ord + 'static, T: Ord + 'static> Ord for IndexVec<I, T>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more