pub struct EdgeState { /* private fields */ }Implementations§
Source§impl EdgeState
impl EdgeState
pub fn new() -> Self
pub fn len(&self) -> usize
pub fn get_edge(&self, idx: EdgeIndex) -> &Edge
pub fn get_edge_mut(&mut self, idx: EdgeIndex) -> &mut Edge
pub fn make_edge( &mut self, rule: Rc<Rule>, bindings: Rc<RefCell<BindingEnv>>, ) -> EdgeIndex
pub fn revoke_latest_edge(&mut self, idx: EdgeIndex)
Auto Trait Implementations§
impl Freeze for EdgeState
impl !RefUnwindSafe for EdgeState
impl !Send for EdgeState
impl !Sync for EdgeState
impl Unpin for EdgeState
impl !UnwindSafe for EdgeState
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