pub struct LayoutSpan {
pub content: String,
pub style: SemanticStyle,
pub link: Option<LinkTarget>,
}Expand description
1装飾区切り(§18)。linkはSprint 2(S2-4)でOSC 8に使う。
Fields§
§content: String§style: SemanticStyle§link: Option<LinkTarget>Trait Implementations§
Source§impl Clone for LayoutSpan
impl Clone for LayoutSpan
Source§fn clone(&self) -> LayoutSpan
fn clone(&self) -> LayoutSpan
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 moreSource§impl Debug for LayoutSpan
impl Debug for LayoutSpan
Source§impl PartialEq for LayoutSpan
impl PartialEq for LayoutSpan
impl StructuralPartialEq for LayoutSpan
Auto Trait Implementations§
impl Freeze for LayoutSpan
impl RefUnwindSafe for LayoutSpan
impl Send for LayoutSpan
impl Sync for LayoutSpan
impl Unpin for LayoutSpan
impl UnsafeUnpin for LayoutSpan
impl UnwindSafe for LayoutSpan
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