[−][src]Struct structural::for_examples::Struct2
Fields
foo: Option<A>bar: BTrait Implementations
impl<A: Clone, B: Clone> Clone for Struct2<A, B>[src]
impl<A: Copy, B: Copy> Copy for Struct2<A, B>[src]
impl<A: Debug, B: Debug> Debug for Struct2<A, B>[src]
impl<A, B> FieldType<TStr<__TS<(__b, __a, __r)>>> for Struct2<A, B>[src]
type Ty = B
The type of the FieldPath field.
impl<A, B> FieldType<TStr<__TS<(__f, __o, __o)>>> for Struct2<A, B>[src]
impl<A, B> GetField<TStr<__TS<(__b, __a, __r)>>> for Struct2<A, B>[src]
impl<A, B> GetField<TStr<__TS<(__f, __o, __o)>>> for Struct2<A, B>[src]
impl<A, B> GetFieldMut<TStr<__TS<(__b, __a, __r)>>> for Struct2<A, B>[src]
fn get_field_mut_(&mut self, _: TStr<__TS<(__b, __a, __r)>>) -> &mut Self::Ty[src]
unsafe fn get_field_raw_mut(
this: *mut (),
_: TStr<__TS<(__b, __a, __r)>>
) -> *mut GetFieldType<Self, TStr<__TS<(__b, __a, __r)>>>[src]
this: *mut (),
_: TStr<__TS<(__b, __a, __r)>>
) -> *mut GetFieldType<Self, TStr<__TS<(__b, __a, __r)>>>
fn get_field_raw_mut_fn(
&self
) -> GetFieldRawMutFn<TStr<__TS<(__b, __a, __r)>>, GetFieldType<Self, TStr<__TS<(__b, __a, __r)>>>>[src]
&self
) -> GetFieldRawMutFn<TStr<__TS<(__b, __a, __r)>>, GetFieldType<Self, TStr<__TS<(__b, __a, __r)>>>>
impl<A, B> GetFieldMut<TStr<__TS<(__f, __o, __o)>>> for Struct2<A, B>[src]
fn get_field_mut_(&mut self, _: TStr<__TS<(__f, __o, __o)>>) -> &mut Self::Ty[src]
unsafe fn get_field_raw_mut(
this: *mut (),
_: TStr<__TS<(__f, __o, __o)>>
) -> *mut GetFieldType<Self, TStr<__TS<(__f, __o, __o)>>>[src]
this: *mut (),
_: TStr<__TS<(__f, __o, __o)>>
) -> *mut GetFieldType<Self, TStr<__TS<(__f, __o, __o)>>>
fn get_field_raw_mut_fn(
&self
) -> GetFieldRawMutFn<TStr<__TS<(__f, __o, __o)>>, GetFieldType<Self, TStr<__TS<(__f, __o, __o)>>>>[src]
&self
) -> GetFieldRawMutFn<TStr<__TS<(__f, __o, __o)>>, GetFieldType<Self, TStr<__TS<(__f, __o, __o)>>>>
impl<A, B> IntoField<TStr<__TS<(__b, __a, __r)>>> for Struct2<A, B>[src]
fn into_field_(self, _: TStr<__TS<(__b, __a, __r)>>) -> Self::Ty[src]
fn box_into_field_(
self: Box<Self>,
name: TStr<__TS<(__b, __a, __r)>>
) -> GetFieldType<Self, TStr<__TS<(__b, __a, __r)>>>[src]
self: Box<Self>,
name: TStr<__TS<(__b, __a, __r)>>
) -> GetFieldType<Self, TStr<__TS<(__b, __a, __r)>>>
impl<A, B> IntoField<TStr<__TS<(__f, __o, __o)>>> for Struct2<A, B>[src]
fn into_field_(self, _: TStr<__TS<(__f, __o, __o)>>) -> Self::Ty[src]
fn box_into_field_(
self: Box<Self>,
name: TStr<__TS<(__f, __o, __o)>>
) -> GetFieldType<Self, TStr<__TS<(__f, __o, __o)>>>[src]
self: Box<Self>,
name: TStr<__TS<(__f, __o, __o)>>
) -> GetFieldType<Self, TStr<__TS<(__f, __o, __o)>>>
impl<A: PartialEq, B: PartialEq> PartialEq<Struct2<A, B>> for Struct2<A, B>[src]
impl<A, B> Structural for Struct2<A, B>[src]
Fields
Bound:IntoFieldMut<FP!(foo),Ty= Option < A >>
The foo: Option < A > field
, with shared, mutable, and by value accessors
Bound:IntoFieldMut<FP!(bar),Ty= B>
The bar: B field
, with shared, mutable, and by value accessors
impl<A, B> StructuralPartialEq for Struct2<A, B>[src]
Auto Trait Implementations
impl<A, B> RefUnwindSafe for Struct2<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Struct2<A, B> where
A: Send,
B: Send,
A: Send,
B: Send,
impl<A, B> Sync for Struct2<A, B> where
A: Sync,
B: Sync,
A: Sync,
B: Sync,
impl<A, B> Unpin for Struct2<A, B> where
A: Unpin,
B: Unpin,
A: Unpin,
B: Unpin,
impl<A, B> UnwindSafe for Struct2<A, B> where
A: UnwindSafe,
B: UnwindSafe,
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<This, T> Array0<T> for This where
This: ?Sized, [src]
This: ?Sized,
impl<This, V, T> Array0Variant<T, V> for This where
This: ?Sized, [src]
This: ?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<This, F> IntoFieldMut<F> for This where
This: IntoField<F> + GetFieldMut<F> + ?Sized, [src]
This: IntoField<F> + GetFieldMut<F> + ?Sized,
impl<T> SelfOps for T where
T: ?Sized, [src]
T: ?Sized,
const T: PhantomData<fn() -> Self>[src]
const T_D: PhantomData<Self>[src]
fn assert_ty(self, _other: PhantomData<fn() -> Self>) -> Self[src]
fn assert_ty_ref(&self, _other: PhantomData<fn() -> Self>) -> &Self[src]
fn assert_ty_mut(&mut self, _other: PhantomData<fn() -> Self>) -> &mut Self[src]
fn ty_(&self) -> PhantomData<fn() -> Self>[src]
fn ty_d(&self) -> PhantomData<Self>[src]
fn ty_inv(&self) -> PhantomData<fn(Self) -> Self>[src]
fn ty_inv_ref(&self) -> PhantomData<Cell<&Self>>[src]
fn eq_id(&self, other: &Self) -> bool[src]
fn piped<F, U>(self, f: F) -> U where
F: FnOnce(Self) -> U, [src]
F: FnOnce(Self) -> U,
fn piped_ref<'a, F, U>(&'a self, f: F) -> U where
F: FnOnce(&'a Self) -> U, [src]
F: FnOnce(&'a Self) -> U,
fn piped_mut<'a, F, U>(&'a mut self, f: F) -> U where
F: FnOnce(&'a mut Self) -> U, [src]
F: FnOnce(&'a mut Self) -> U,
fn mutated<F>(self, f: F) -> Self where
F: FnOnce(&mut Self), [src]
F: FnOnce(&mut Self),
fn observe<F>(self, f: F) -> Self where
F: FnOnce(&Self), [src]
F: FnOnce(&Self),
fn into_<T>(self, PhantomData<fn() -> T>) -> T where
Self: Into<T>, [src]
Self: Into<T>,
fn as_ref_<T>(&self) -> &T where
Self: AsRef<T>,
T: ?Sized, [src]
Self: AsRef<T>,
T: ?Sized,
fn as_mut_<T>(&mut self) -> &mut T where
Self: AsMut<T>,
T: ?Sized, [src]
Self: AsMut<T>,
T: ?Sized,
fn drop_(self)[src]
impl<A, B, __This> Struct2_SI<A, B> for __This where
__This: IntoFieldMut<TStr<__TS<(__f, __o, __o)>>, Ty = Option<A>, Ty = B> + IntoFieldMut<TStr<__TS<(__b, __a, __r)>>> + ?Sized, [src]
__This: IntoFieldMut<TStr<__TS<(__f, __o, __o)>>, Ty = Option<A>, Ty = B> + IntoFieldMut<TStr<__TS<(__b, __a, __r)>>> + ?Sized,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The error type returned when the conversion fails.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> TypeIdentity for T where
T: ?Sized, [src]
T: ?Sized,
type Type = T
The same type as Self. Read more
fn into_type_val(self) -> Self::Type where
Self::Type: Sized, [src]
Self::Type: Sized,
fn into_type_ref(&self) -> &Self::Type[src]
fn into_type_mut(&mut self) -> &mut Self::Type[src]
fn into_type_box(self: Box<Self>) -> Box<Self::Type>[src]
fn into_type_arc(this: Arc<Self>) -> Arc<Self::Type>[src]
fn into_type_rc(this: Rc<Self>) -> Rc<Self::Type>[src]
fn from_type_val(this: Self::Type) -> Self where
Self::Type: Sized, [src]
Self::Type: Sized,