pub struct YamlRegion {
pub id: String,
pub kind: YamlRegionKind,
pub host_range: Range<usize>,
pub region_range: Range<usize>,
pub content_range: Range<usize>,
pub content: String,
pub yaml_to_host_offsets: Vec<usize>,
}Fields§
§id: String§kind: YamlRegionKind§host_range: Range<usize>§region_range: Range<usize>§content_range: Range<usize>§content: String§yaml_to_host_offsets: Vec<usize>Trait Implementations§
Source§impl Clone for YamlRegion
impl Clone for YamlRegion
Source§fn clone(&self) -> YamlRegion
fn clone(&self) -> YamlRegion
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 YamlRegion
impl Debug for YamlRegion
Source§impl PartialEq for YamlRegion
impl PartialEq for YamlRegion
impl Eq for YamlRegion
impl StructuralPartialEq for YamlRegion
Auto Trait Implementations§
impl Freeze for YamlRegion
impl RefUnwindSafe for YamlRegion
impl Send for YamlRegion
impl Sync for YamlRegion
impl Unpin for YamlRegion
impl UnsafeUnpin for YamlRegion
impl UnwindSafe for YamlRegion
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