[−][src]Struct gf::pivot::fragment::UnsealedFragmentVarSizes
⚪ Sizes of variables defined in an unsealed fragment.
Implementations
impl UnsealedFragmentVarSizes
[src]
pub fn new(
module: &UnsealedModule,
fragment: &UnsealedFragment,
cfg: &UnsealedFragmentCfg<Forward>
) -> Self
[src]
module: &UnsealedModule,
fragment: &UnsealedFragment,
cfg: &UnsealedFragmentCfg<Forward>
) -> Self
Build the variable sizes of an unsealed fragment.
Errors
- Panics if an object referenced in the fragment does not exist: basic block, constant, fragment, or space.
- Panics on mismatch between number of fragment inputs and entry basic block inputs.
- Panics on mismatch between number of fragment outputs and exit basic block false branch outputs.
- Panics on mismatch between number of CALL statement inputs and target fragment inputs.
- Panics on mismatch between number of CALL statement outputs and target fragment outputs.
- Panics on mismatch between number of MIX statement inputs and outputs.
- Panics on mismatch between number of edge inputs and outputs.
pub fn get(&self, var: Var) -> &FlatLattice<VarSize>
[src]
Return variable size.
If no information is available, returns ⊤. If there are conflicting size requirements, returns ⊥.
Trait Implementations
impl Clone for UnsealedFragmentVarSizes
[src]
fn clone(&self) -> UnsealedFragmentVarSizes
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for UnsealedFragmentVarSizes
[src]
Auto Trait Implementations
impl RefUnwindSafe for UnsealedFragmentVarSizes
impl Send for UnsealedFragmentVarSizes
impl Sync for UnsealedFragmentVarSizes
impl Unpin for UnsealedFragmentVarSizes
impl UnwindSafe for UnsealedFragmentVarSizes
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,