pub struct InlineAttachmentInput {
pub truncation: bool,
pub label: Option<String>,
pub node: NodeId,
pub range: TextByteRange,
pub alignment: InlineAlignment,
}Expand description
An inline subtree whose dimensions are resolved by the layout adapter.
Fields§
§truncation: boolWhether this subtree replaces the hidden suffix.
label: Option<String>Explicit alternative used by selection copy.
node: NodeIdRetained subtree root.
range: TextByteRangeObject replacement character in the paragraph.
alignment: InlineAlignmentPosition relative to the surrounding line.
Trait Implementations§
Source§impl Clone for InlineAttachmentInput
impl Clone for InlineAttachmentInput
Source§impl Debug for InlineAttachmentInput
impl Debug for InlineAttachmentInput
Source§impl PartialEq for InlineAttachmentInput
impl PartialEq for InlineAttachmentInput
impl StructuralPartialEq for InlineAttachmentInput
Auto Trait Implementations§
impl Forget for InlineAttachmentInput
impl Freeze for InlineAttachmentInput
impl Move for InlineAttachmentInput
impl RefUnwindSafe for InlineAttachmentInput
impl Send for InlineAttachmentInput
impl Sync for InlineAttachmentInput
impl Unpin for InlineAttachmentInput
impl UnsafeUnpin for InlineAttachmentInput
impl UnwindSafe for InlineAttachmentInput
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