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) -> InstructionLinkNodewhere
T: Into<CamelCaseString>,
pub fn new_from_program<T>(
name: T,
program: ProgramLinkNode,
) -> InstructionLinkNodewhere
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<InstructionLinkNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InstructionLinkNode, <__D as Deserializer<'de>>::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§fn from(name: &str) -> InstructionLinkNode
fn from(name: &str) -> InstructionLinkNode
Converts to this type from the input type.
Source§impl From<InstructionLinkNode> for LinkNode
impl From<InstructionLinkNode> for LinkNode
Source§fn from(value: InstructionLinkNode) -> LinkNode
fn from(value: InstructionLinkNode) -> LinkNode
Converts to this type from the input type.
Source§impl From<InstructionLinkNode> for Node
impl From<InstructionLinkNode> for Node
Source§fn from(val: InstructionLinkNode) -> Node
fn from(val: InstructionLinkNode) -> Node
Converts to this type from the input type.
Source§impl From<String> for InstructionLinkNode
impl From<String> for InstructionLinkNode
Source§fn from(name: String) -> InstructionLinkNode
fn from(name: String) -> InstructionLinkNode
Converts to this type from the input type.
Source§impl HasName for InstructionLinkNode
impl HasName for InstructionLinkNode
fn name(&self) -> &CamelCaseString
Source§impl NodeTrait for InstructionLinkNode
impl NodeTrait for InstructionLinkNode
Source§impl PartialEq for InstructionLinkNode
impl PartialEq for InstructionLinkNode
Source§impl Serialize for InstructionLinkNode
impl Serialize for InstructionLinkNode
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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