pub enum Target {
    _Self,
    _Blank,
    _Parent,
    _Top,
}

Variants

_Self

_Blank

👎 Deprecated:

There is a Security_and_privacy_concerns when target='_blank', please use .target_blank_with_rel(). See more at https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#Security_and_privacy_concerns

_Parent

_Top

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.