pub struct InstructionByteDeltaNode {
pub with_header: bool,
pub subtract: bool,
pub value: InstructionByteDeltaNodeValue,
}Fields§
§with_header: bool§subtract: bool§value: InstructionByteDeltaNodeValueImplementations§
Source§impl InstructionByteDeltaNode
impl InstructionByteDeltaNode
pub fn new<T>(value: T, with_header: bool) -> Selfwhere
T: Into<InstructionByteDeltaNodeValue>,
pub fn minus<T>(value: T, with_header: bool) -> Selfwhere
T: Into<InstructionByteDeltaNodeValue>,
Trait Implementations§
Source§impl Clone for InstructionByteDeltaNode
impl Clone for InstructionByteDeltaNode
Source§fn clone(&self) -> InstructionByteDeltaNode
fn clone(&self) -> InstructionByteDeltaNode
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 InstructionByteDeltaNode
impl Debug for InstructionByteDeltaNode
Source§impl<'de> Deserialize<'de> for InstructionByteDeltaNode
impl<'de> Deserialize<'de> for InstructionByteDeltaNode
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<InstructionByteDeltaNode> for Node
impl From<InstructionByteDeltaNode> for Node
Source§fn from(value: InstructionByteDeltaNode) -> Self
fn from(value: InstructionByteDeltaNode) -> Self
Converts to this type from the input type.
Source§impl NodeTrait for InstructionByteDeltaNode
impl NodeTrait for InstructionByteDeltaNode
const KIND: &'static str = "instructionByteDeltaNode"
fn to_json(&self) -> CodamaResult<String>
fn to_json_pretty(&self) -> CodamaResult<String>
fn from_json(json: &str) -> CodamaResult<Self>
Source§impl PartialEq for InstructionByteDeltaNode
impl PartialEq for InstructionByteDeltaNode
Source§impl Serialize for InstructionByteDeltaNode
impl Serialize for InstructionByteDeltaNode
impl StructuralPartialEq for InstructionByteDeltaNode
Auto Trait Implementations§
impl Freeze for InstructionByteDeltaNode
impl RefUnwindSafe for InstructionByteDeltaNode
impl Send for InstructionByteDeltaNode
impl Sync for InstructionByteDeltaNode
impl Unpin for InstructionByteDeltaNode
impl UnwindSafe for InstructionByteDeltaNode
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