[−][src]Struct gf::pivot::fragment::UnsealedFragmentDefsUses
⚪ Defined and used variables of an unsealed fragment.
Implementations
impl UnsealedFragmentDefsUses
[src]
pub fn new(module: &UnsealedModule, cfg: &UnsealedFragmentCfg<Forward>) -> Self
[src]
Build the defined and used variables of an unsealed fragment.
pub fn vars(&self) -> &[Var]
[src]
Return all variables defined and/or used in the fragment in increasing order of their numbers.
pub fn defs(&self, var: Var) -> &[UnsealedLoc]
[src]
Return definitions of a variable.
Tail locations correspond to inputs of basic blocks.
pub fn uses(&self, var: Var) -> &[UnsealedLoc]
[src]
Return uses of a variable.
Tail locations correspond to outputs of basic blocks.
Trait Implementations
impl Clone for UnsealedFragmentDefsUses
[src]
fn clone(&self) -> UnsealedFragmentDefsUses
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for UnsealedFragmentDefsUses
[src]
Auto Trait Implementations
impl RefUnwindSafe for UnsealedFragmentDefsUses
impl Send for UnsealedFragmentDefsUses
impl Sync for UnsealedFragmentDefsUses
impl Unpin for UnsealedFragmentDefsUses
impl UnwindSafe for UnsealedFragmentDefsUses
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>,