[−][src]Struct genco::prelude::dart::BuiltIn
built-in types.
Examples
#![feature(proc_macro_hygiene)] use genco::prelude::*; assert_eq!("int", quote!(#(dart::INT)).to_string().unwrap()); assert_eq!("double", quote!(#(dart::DOUBLE)).to_string().unwrap()); assert_eq!("bool", quote!(#(dart::BOOL)).to_string().unwrap());
Trait Implementations
impl Clone for BuiltIn
[src]
impl Copy for BuiltIn
[src]
impl Debug for BuiltIn
[src]
impl Eq for BuiltIn
[src]
impl FormatTokens<Dart> for BuiltIn
[src]
fn format_tokens(self, tokens: &mut Tokens<Dart>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl<'a> FormatTokens<Dart> for &'a BuiltIn
[src]
fn format_tokens(self, tokens: &mut Tokens<Dart>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl<'a> From<&'a BuiltIn> for LangBox<Dart>
[src]
impl From<BuiltIn> for TypeBox
[src]
impl From<BuiltIn> for LangBox<Dart>
[src]
impl Hash for BuiltIn
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl LangItem<Dart> for BuiltIn
[src]
fn format(&self, out: &mut Formatter, _: &mut Config, _: usize) -> Result
[src]
fn as_import(&self) -> Option<&L::Import>
[src]
impl Ord for BuiltIn
[src]
fn cmp(&self, other: &BuiltIn) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<BuiltIn> for BuiltIn
[src]
impl PartialOrd<BuiltIn> for BuiltIn
[src]
fn partial_cmp(&self, other: &BuiltIn) -> Option<Ordering>
[src]
fn lt(&self, other: &BuiltIn) -> bool
[src]
fn le(&self, other: &BuiltIn) -> bool
[src]
fn gt(&self, other: &BuiltIn) -> bool
[src]
fn ge(&self, other: &BuiltIn) -> bool
[src]
impl StructuralEq for BuiltIn
[src]
impl StructuralPartialEq for BuiltIn
[src]
impl TypeTrait for BuiltIn
[src]
Auto Trait Implementations
impl RefUnwindSafe for BuiltIn
impl Send for BuiltIn
impl Sync for BuiltIn
impl Unpin for BuiltIn
impl UnwindSafe for BuiltIn
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,