pub enum OwnedSpan {
Structural(String),
Frame {
id: String,
text: String,
},
Part {
id: String,
kind: String,
text: String,
},
Fence {
id: String,
text: String,
},
}Expand description
A rendered byte span owned by one BRIDGE packet component.
Variants§
Structural(String)
Structural packet syntax.
Frame
Fluent frame sentence text.
Part
Registered part line.
Fence
Fenced data block.
Implementations§
Trait Implementations§
impl Eq for OwnedSpan
impl StructuralPartialEq for OwnedSpan
Auto Trait Implementations§
impl Freeze for OwnedSpan
impl RefUnwindSafe for OwnedSpan
impl Send for OwnedSpan
impl Sync for OwnedSpan
impl Unpin for OwnedSpan
impl UnsafeUnpin for OwnedSpan
impl UnwindSafe for OwnedSpan
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