pub struct InstructionLinkNode {
pub name: CamelCaseString,
pub program: Option<ProgramLinkNode>,
}Fields§
§name: CamelCaseString§program: Option<ProgramLinkNode>Implementations§
Source§impl InstructionLinkNode
impl InstructionLinkNode
pub fn new<T>(name: T) -> Selfwhere
T: Into<CamelCaseString>,
pub fn new_from_program<T>(name: T, program: ProgramLinkNode) -> Selfwhere
T: Into<CamelCaseString>,
Trait Implementations§
Source§impl Clone for InstructionLinkNode
impl Clone for InstructionLinkNode
Source§fn clone(&self) -> InstructionLinkNode
fn clone(&self) -> InstructionLinkNode
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 InstructionLinkNode
impl Debug for InstructionLinkNode
Source§impl<'de> Deserialize<'de> for InstructionLinkNode
impl<'de> Deserialize<'de> for InstructionLinkNode
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<&str> for InstructionLinkNode
impl From<&str> for InstructionLinkNode
Source§impl From<InstructionLinkNode> for LinkNode
impl From<InstructionLinkNode> for LinkNode
Source§fn from(value: InstructionLinkNode) -> Self
fn from(value: InstructionLinkNode) -> Self
Converts to this type from the input type.
Source§impl From<InstructionLinkNode> for Node
impl From<InstructionLinkNode> for Node
Source§fn from(val: InstructionLinkNode) -> Self
fn from(val: InstructionLinkNode) -> Self
Converts to this type from the input type.
Source§impl From<String> for InstructionLinkNode
impl From<String> for InstructionLinkNode
Source§impl HasName for InstructionLinkNode
impl HasName for InstructionLinkNode
fn name(&self) -> &CamelCaseString
Source§impl NodeTrait for InstructionLinkNode
impl NodeTrait for InstructionLinkNode
const KIND: &'static str = "instructionLinkNode"
fn to_json(&self) -> CodamaResult<String>
fn to_json_pretty(&self) -> CodamaResult<String>
fn from_json(json: &str) -> CodamaResult<Self>
Source§impl PartialEq for InstructionLinkNode
impl PartialEq for InstructionLinkNode
Source§impl Serialize for InstructionLinkNode
impl Serialize for InstructionLinkNode
impl StructuralPartialEq for InstructionLinkNode
Auto Trait Implementations§
impl Freeze for InstructionLinkNode
impl RefUnwindSafe for InstructionLinkNode
impl Send for InstructionLinkNode
impl Sync for InstructionLinkNode
impl Unpin for InstructionLinkNode
impl UnwindSafe for InstructionLinkNode
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