Enum pulldown_typst::LinkType
source · pub enum LinkType {
Url,
Content,
Autolink,
}
Expand description
Type specifier for inline links. See Tag::Link for more information.
Variants§
Url
Link like #link("https://example.com")
Content
Link like #link("https://example.com")[my cool content]
Autolink
Autolink like http://foo.bar/baz
.
Trait Implementations§
source§impl PartialEq for LinkType
impl PartialEq for LinkType
impl Copy for LinkType
impl StructuralPartialEq for LinkType
Auto Trait Implementations§
impl RefUnwindSafe for LinkType
impl Send for LinkType
impl Sync for LinkType
impl Unpin for LinkType
impl UnwindSafe for LinkType
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