Struct windows_gen::Literal [−][src]
pub struct Literal { /* fields omitted */ }
A literal of some sort
Implementations
impl Literal
[src]
impl Literal
[src]pub fn usize_unsuffixed(n: usize) -> Self
[src]
pub fn u32_unsuffixed(n: u32) -> Self
[src]
pub fn u16_unsuffixed(n: u16) -> Self
[src]
pub fn u8_unsuffixed(n: u8) -> Self
[src]
pub fn byte_string(s: &[u8]) -> Self
[src]
pub fn as_str(&self) -> &str
[src]
Trait Implementations
impl ToTokens for Literal
[src]
impl ToTokens for Literal
[src]fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn to_token_stream(&self) -> TokenStream
[src]
fn into_token_stream(self) -> TokenStream where
Self: Sized,
[src]
Self: Sized,
Auto Trait Implementations
impl RefUnwindSafe for Literal
impl RefUnwindSafe for Literal
impl UnwindSafe for Literal
impl UnwindSafe for Literal