pub struct BlockBase<'blk> {
pub id: BlockId,
pub node: HirNode<'blk>,
pub kind: BlockKind,
pub parent: Option<BlockId>,
pub children: Vec<BlockId>,
}Fields§
§id: BlockId§node: HirNode<'blk>§kind: BlockKind§parent: Option<BlockId>§children: Vec<BlockId>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'blk> Freeze for BlockBase<'blk>
impl<'blk> RefUnwindSafe for BlockBase<'blk>
impl<'blk> Send for BlockBase<'blk>
impl<'blk> Sync for BlockBase<'blk>
impl<'blk> Unpin for BlockBase<'blk>
impl<'blk> UnwindSafe for BlockBase<'blk>
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more