[−][src]Struct gluon_base::types::Field
Fields
name: Id
typ: T
Implementations
impl<Id, T> Field<Id, T>
[src]
pub fn new(name: Id, typ: T) -> Field<Id, T>
[src]
pub fn ctor_with<J>(
context: &mut impl TypeContext<Id, T> + ?Sized,
ctor_name: Id,
elems: J
) -> Self where
J: IntoIterator<Item = T>,
J::IntoIter: DoubleEndedIterator,
T: TypePtr<Id = Id>,
[src]
context: &mut impl TypeContext<Id, T> + ?Sized,
ctor_name: Id,
elems: J
) -> Self where
J: IntoIterator<Item = T>,
J::IntoIter: DoubleEndedIterator,
T: TypePtr<Id = Id>,
pub fn ctor<J>(ctor_name: Id, elems: J) -> Self where
J: IntoIterator<Item = T>,
J::IntoIter: DoubleEndedIterator,
T: TypeExt<Id = Id> + From<Type<Id, T>>,
T::Types: Default + Extend<T>,
[src]
J: IntoIterator<Item = T>,
J::IntoIter: DoubleEndedIterator,
T: TypeExt<Id = Id> + From<Type<Id, T>>,
T::Types: Default + Extend<T>,
Trait Implementations
impl<'ast, Id> AstAlloc<'ast, Id> for Field<Id, AstType<'ast, Id>>
[src]
fn alloc(self, arena: &'ast Arena<'ast, Id>) -> &'ast mut Self
[src]
fn alloc_extend(
iter: impl IntoIterator<Item = Self>,
arena: &'ast Arena<'ast, Id>
) -> &'ast mut [Self]
[src]
iter: impl IntoIterator<Item = Self>,
arena: &'ast Arena<'ast, Id>
) -> &'ast mut [Self]
impl<'ast, Id> AstAlloc<'ast, Id> for Field<Id, Alias<Id, AstType<'ast, Id>>>
[src]
fn alloc(self, arena: &'ast Arena<'ast, Id>) -> &'ast mut Self
[src]
fn alloc_extend(
iter: impl IntoIterator<Item = Self>,
arena: &'ast Arena<'ast, Id>
) -> &'ast mut [Self]
[src]
iter: impl IntoIterator<Item = Self>,
arena: &'ast Arena<'ast, Id>
) -> &'ast mut [Self]
impl<'ast, Id, T> AstClone<'ast, Id> for Field<Id, T> where
Id: AstClone<'ast, Id>,
T: AstClone<'ast, Id>,
Id: Clone,
[src]
Id: AstClone<'ast, Id>,
T: AstClone<'ast, Id>,
Id: Clone,
impl<Id: Clone, T: Clone> Clone for Field<Id, T>
[src]
impl<Id: Debug, T: Debug> Debug for Field<Id, T>
[src]
impl<Id: Eq, T: Eq> Eq for Field<Id, T>
[src]
impl<Id: Hash, T: Hash> Hash for Field<Id, T>
[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<Id: PartialEq, T: PartialEq> PartialEq<Field<Id, T>> for Field<Id, T>
[src]
impl<Id, T> StructuralEq for Field<Id, T>
[src]
impl<Id, T> StructuralPartialEq for Field<Id, T>
[src]
Auto Trait Implementations
impl<Id, T> RefUnwindSafe for Field<Id, T> where
Id: RefUnwindSafe,
T: RefUnwindSafe,
Id: RefUnwindSafe,
T: RefUnwindSafe,
impl<Id, T> Send for Field<Id, T> where
Id: Send,
T: Send,
Id: Send,
T: Send,
impl<Id, T> Sync for Field<Id, T> where
Id: Sync,
T: Sync,
Id: Sync,
T: Sync,
impl<Id, T> Unpin for Field<Id, T> where
Id: Unpin,
T: Unpin,
Id: Unpin,
T: Unpin,
impl<Id, T> UnwindSafe for Field<Id, T> where
Id: UnwindSafe,
T: UnwindSafe,
Id: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[src]
T: Any,
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> CloneAny for T where
T: Clone + Any,
[src]
T: Clone + Any,
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>,