pub enum ArrayKind {
PhiArray(P<PhiArrayNode>),
MergedArray(P<ArrayNode>),
}
Expand description
Represents the kind of an array node in the AST.
Variants§
PhiArray(P<PhiArrayNode>)
Represents an UnmergedArray
MergedArray(P<ArrayNode>)
Represents a MergedArray
Trait Implementations§
Source§impl AstVisitable for ArrayKind
impl AstVisitable for ArrayKind
Source§impl<'de> Deserialize<'de> for ArrayKind
impl<'de> Deserialize<'de> for ArrayKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<P<PhiArrayNode>> for ArrayKind
impl From<P<PhiArrayNode>> for ArrayKind
Source§fn from(id: P<PhiArrayNode>) -> Self
fn from(id: P<PhiArrayNode>) -> Self
Converts to this type from the input type.
Source§impl From<PhiArrayNode> for ArrayKind
impl From<PhiArrayNode> for ArrayKind
Source§fn from(id: PhiArrayNode) -> Self
fn from(id: PhiArrayNode) -> Self
Converts to this type from the input type.
impl Eq for ArrayKind
Auto Trait Implementations§
impl Freeze for ArrayKind
impl RefUnwindSafe for ArrayKind
impl Send for ArrayKind
impl Sync for ArrayKind
impl Unpin for ArrayKind
impl UnwindSafe for ArrayKind
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> 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.