pub struct CellRef<'a> { /* private fields */ }
Implementations§
Source§impl<'a> CellRef<'a>
impl<'a> CellRef<'a>
pub fn get(&self) -> Cow<'_, Cell>
pub fn metadata(&self) -> MetaItemRef<'a>
pub fn output_len(&self) -> usize
pub fn output(&self) -> Value
pub fn visit(&self, f: impl FnMut(Net))
pub fn replace(&self, to_cell: Cell)
pub fn append_metadata(&self, metadata: MetaItemRef<'a>)
pub fn unalive(&self)
Sourcepub fn debug_index(&self) -> usize
pub fn debug_index(&self) -> usize
Returns the same index as the one used by Display
implementation. There is intentionally no way to retrieve
a cell by its index.
Trait Implementations§
Source§impl Ord for CellRef<'_>
impl Ord for CellRef<'_>
Source§impl PartialOrd<CellRef<'_>> for CellRef<'_>
impl PartialOrd<CellRef<'_>> for CellRef<'_>
impl<'a> Copy for CellRef<'a>
impl Eq for CellRef<'_>
Auto Trait Implementations§
impl<'a> Freeze for CellRef<'a>
impl<'a> !RefUnwindSafe for CellRef<'a>
impl<'a> !Send for CellRef<'a>
impl<'a> !Sync for CellRef<'a>
impl<'a> Unpin for CellRef<'a>
impl<'a> !UnwindSafe for CellRef<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.