[][src]Struct tweep::TwineLink

pub struct TwineLink {
    pub target: String,
    pub context: FullContext,
}

A link to a twee passage contained within a twee passage

Fields

target: String

The name of the passage this link points to

context: FullContext

The context of the link

Implementations

impl TwineLink[src]

pub fn new(target: String, context: FullContext) -> Self[src]

Creates a new link with a default Position

Trait Implementations

impl Debug for TwineLink[src]

impl Eq for TwineLink[src]

impl PartialEq<TwineLink> for TwineLink[src]

impl StructuralEq for TwineLink[src]

impl StructuralPartialEq for TwineLink[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.