pub struct Hyperlink {
pub link: HyperlinkData,
pub history: Option<usize>,
pub children: Vec<ParagraphChild>,
}
Fields§
§link: HyperlinkData
§history: Option<usize>
§children: Vec<ParagraphChild>
Implementations§
Source§impl Hyperlink
impl Hyperlink
pub fn new(value: impl Into<String>, t: HyperlinkType) -> Self
pub fn add_run(self, run: Run) -> Self
pub fn add_structured_data_tag(self, t: StructuredDataTag) -> Self
pub fn add_insert(self, insert: Insert) -> Self
pub fn add_delete(self, delete: Delete) -> Self
Trait Implementations§
Source§impl ElementReader for Hyperlink
impl ElementReader for Hyperlink
fn read<R: Read>( r: &mut EventReader<R>, attrs: &[OwnedAttribute], ) -> Result<Self, ReaderError>
impl StructuralPartialEq for Hyperlink
Auto Trait Implementations§
impl Freeze for Hyperlink
impl RefUnwindSafe for Hyperlink
impl Send for Hyperlink
impl Sync for Hyperlink
impl Unpin for Hyperlink
impl UnwindSafe for Hyperlink
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