Struct derive_builder_core::RawTokens [] [src]

pub struct RawTokens<T: AsRef<str>>(pub T);

RawTokens can be directly appended to a quote::Tokens instance without any parsing.

Methods

impl<T: AsRef<str>> RawTokens<T>
[src]

[src]

View the underlying data as string.

[src]

Write self to a new instance of quote::Tokens.

Trait Implementations

impl<T: PartialEq + AsRef<str>> PartialEq for RawTokens<T>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<T: Debug + AsRef<str>> Debug for RawTokens<T>
[src]

[src]

Formats the value using the given formatter.

impl<T: AsRef<str>> ToTokens for RawTokens<T>
[src]

[src]

Write self to the given Tokens. Read more