Struct preserves_schema::syntax::block::Sequence
source · pub struct Sequence {
pub items: Vec<Item>,
pub vertical_mode: VerticalMode,
pub separator: &'static str,
pub terminator: &'static str,
}
Expand description
A possibly-vertical sequence of items with item-separating and -terminating text.
Fields§
§items: Vec<Item>
§vertical_mode: VerticalMode
§separator: &'static str
§terminator: &'static str
Trait Implementations§
source§impl Vertical for Sequence
impl Vertical for Sequence
fn set_vertical_mode(&mut self, vertical_mode: VerticalMode)
fn write_vertically_on(&self, f: &mut Formatter)
Auto Trait Implementations§
impl !RefUnwindSafe for Sequence
impl !Send for Sequence
impl !Sync for Sequence
impl Unpin for Sequence
impl !UnwindSafe for Sequence
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