[][src]Struct dsmsg::MessageDkS1

pub struct MessageDkS1 { /* fields omitted */ }

A complete Hint Message that could be found in Dark Souls I. Consists of either one or two strings. One is a Template, and the other, if present, is a Fill phrase.

Trait Implementations

impl Display for Message[src]

impl DsMsg for Message[src]

fn random(rng: &mut ThreadRng) -> Self[src]

Create a new Message, with at least one randomized string. If the chosen string contains a placeholder character, a second string will be chosen to fill it.

Auto Trait Implementations

impl RefUnwindSafe for Message

impl Send for Message

impl Sync for Message

impl Unpin for Message

impl UnwindSafe for Message

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<M> DsMsg for M where
    M: DsMulti
[src]

fn random(&mut ThreadRng) -> M[src]

Create a new Message, with at least one randomized string. There is a chance it will also contain a second part, joined to the first by a Conjunction.

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,