pub struct StringDisplayNode {
pub slice_start: Option<u64>,
pub slice_end: Option<u64>,
}Fields§
§slice_start: Option<u64>§slice_end: Option<u64>Implementations§
Trait Implementations§
Source§impl Clone for StringDisplayNode
impl Clone for StringDisplayNode
Source§fn clone(&self) -> StringDisplayNode
fn clone(&self) -> StringDisplayNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StringDisplayNode
Source§impl Debug for StringDisplayNode
impl Debug for StringDisplayNode
Source§impl Default for StringDisplayNode
impl Default for StringDisplayNode
Source§fn default() -> StringDisplayNode
fn default() -> StringDisplayNode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StringDisplayNode
impl<'de> Deserialize<'de> for StringDisplayNode
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<StringDisplayNode> for DisplayNode
impl From<StringDisplayNode> for DisplayNode
Source§fn from(value: StringDisplayNode) -> Self
fn from(value: StringDisplayNode) -> Self
Converts to this type from the input type.
Source§impl From<StringDisplayNode> for Node
impl From<StringDisplayNode> for Node
Source§fn from(val: StringDisplayNode) -> Self
fn from(val: StringDisplayNode) -> Self
Converts to this type from the input type.
Source§impl NodeTrait for StringDisplayNode
impl NodeTrait for StringDisplayNode
const KIND: &'static str = "stringDisplayNode"
fn to_json(&self) -> CodamaResult<String>
fn to_json_pretty(&self) -> CodamaResult<String>
fn from_json(json: &str) -> CodamaResult<Self>
Source§impl PartialEq for StringDisplayNode
impl PartialEq for StringDisplayNode
Source§impl Serialize for StringDisplayNode
impl Serialize for StringDisplayNode
impl StructuralPartialEq for StringDisplayNode
Auto Trait Implementations§
impl Freeze for StringDisplayNode
impl RefUnwindSafe for StringDisplayNode
impl Send for StringDisplayNode
impl Sync for StringDisplayNode
impl Unpin for StringDisplayNode
impl UnsafeUnpin for StringDisplayNode
impl UnwindSafe for StringDisplayNode
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