pub enum SubLineBlock {
LineBlock(Box<LineBlock>),
Line(Box<Line>),
}Variants§
Trait Implementations§
Source§impl Clone for SubLineBlock
impl Clone for SubLineBlock
Source§fn clone(&self) -> SubLineBlock
fn clone(&self) -> SubLineBlock
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 SubLineBlock
impl Debug for SubLineBlock
Source§impl From<Line> for SubLineBlock
impl From<Line> for SubLineBlock
Source§impl From<LineBlock> for SubLineBlock
impl From<LineBlock> for SubLineBlock
Source§impl HasChildren<SubLineBlock> for LineBlock
impl HasChildren<SubLineBlock> for LineBlock
fn with_children(children: Vec<SubLineBlock>) -> LineBlock
fn children(&self) -> &Vec<SubLineBlock>
fn children_mut(&mut self) -> &mut Vec<SubLineBlock>
fn append_child<R: Into<C>>(&mut self, child: R)
fn append_children<R: Into<C> + Clone>(&mut self, more: &[R])
Source§impl JsonSchema for SubLineBlock
impl JsonSchema for SubLineBlock
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SubLineBlock
impl PartialEq for SubLineBlock
Source§impl Serialize for SubLineBlock
impl Serialize for SubLineBlock
impl StructuralPartialEq for SubLineBlock
Auto Trait Implementations§
impl Freeze for SubLineBlock
impl RefUnwindSafe for SubLineBlock
impl Send for SubLineBlock
impl Sync for SubLineBlock
impl Unpin for SubLineBlock
impl UnwindSafe for SubLineBlock
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