pub struct ArrayTypeNode {
pub item: Box<TypeNode>,
pub count: CountNode,
}Fields§
§item: Box<TypeNode>§count: CountNodeImplementations§
Trait Implementations§
Source§impl Clone for ArrayTypeNode
impl Clone for ArrayTypeNode
Source§fn clone(&self) -> ArrayTypeNode
fn clone(&self) -> ArrayTypeNode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArrayTypeNode
impl Debug for ArrayTypeNode
Source§impl<'de> Deserialize<'de> for ArrayTypeNode
impl<'de> Deserialize<'de> for ArrayTypeNode
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<ArrayTypeNode> for Node
impl From<ArrayTypeNode> for Node
Source§fn from(val: ArrayTypeNode) -> Self
fn from(val: ArrayTypeNode) -> Self
Converts to this type from the input type.
Source§impl From<ArrayTypeNode> for RegisteredTypeNode
impl From<ArrayTypeNode> for RegisteredTypeNode
Source§fn from(value: ArrayTypeNode) -> Self
fn from(value: ArrayTypeNode) -> Self
Converts to this type from the input type.
Source§impl From<ArrayTypeNode> for TypeNode
impl From<ArrayTypeNode> for TypeNode
Source§fn from(value: ArrayTypeNode) -> Self
fn from(value: ArrayTypeNode) -> Self
Converts to this type from the input type.
Source§impl NodeTrait for ArrayTypeNode
impl NodeTrait for ArrayTypeNode
const KIND: &'static str = "arrayTypeNode"
fn to_json(&self) -> CodamaResult<String>
fn to_json_pretty(&self) -> CodamaResult<String>
fn from_json(json: &str) -> CodamaResult<Self>
Source§impl PartialEq for ArrayTypeNode
impl PartialEq for ArrayTypeNode
Source§impl Serialize for ArrayTypeNode
impl Serialize for ArrayTypeNode
Source§impl TypeNodeTrait for ArrayTypeNode
impl TypeNodeTrait for ArrayTypeNode
fn try_from_type_node(node: TypeNode) -> CodamaResult<Self>
fn into_type_node(self) -> TypeNode
impl StructuralPartialEq for ArrayTypeNode
Auto Trait Implementations§
impl Freeze for ArrayTypeNode
impl RefUnwindSafe for ArrayTypeNode
impl Send for ArrayTypeNode
impl Sync for ArrayTypeNode
impl Unpin for ArrayTypeNode
impl UnwindSafe for ArrayTypeNode
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