Struct dep_obj::example::MyDepTypeId
source · [−]pub struct MyDepTypeId(_);
Implementations
sourceimpl MyDepTypeId
impl MyDepTypeId
pub fn new(state: &mut dyn State) -> MyDepTypeId
pub fn drop_self(self, state: &mut dyn State)
pub fn build(
self,
state: &mut dyn dyn_context_State,
f: impl for<'builder_lt> FnOnce(MyDepTypeBuilder<Builder<'builder_lt, Self>>) -> MyDepTypeBuilder<Builder<'builder_lt, Self>>
) -> Self
Trait Implementations
sourceimpl Clone for MyDepTypeId
impl Clone for MyDepTypeId
sourcefn clone(&self) -> MyDepTypeId
fn clone(&self) -> MyDepTypeId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl ComponentId for MyDepTypeId
impl ComponentId for MyDepTypeId
sourceimpl Debug for MyDepTypeId
impl Debug for MyDepTypeId
sourceimpl DepObj<MyDepType, MyDepType> for MyDepTypeId
impl DepObj<MyDepType, MyDepType> for MyDepTypeId
const STATE_PART: std_any_TypeId = crate::std_any_TypeId::of::()
fn get_raw<'state_part_lifetime>(
state_part: &'state_part_lifetime dyn std_any_Any,
this: components_arena_RawId
) -> &'state_part_lifetime MyDepType
fn get_raw_mut<'state_part_lifetime>(
state_part: &'state_part_lifetime mut dyn std_any_Any,
this: components_arena_RawId
) -> &'state_part_lifetime mut MyDepType
fn get(state: &dyn State, id: RawId) -> DepObjRef<'_, Type>
fn get_mut(state: &mut dyn State, id: RawId) -> DepObjMut<'_, Type>
sourceimpl Hash for MyDepTypeId
impl Hash for MyDepTypeId
sourceimpl Ord for MyDepTypeId
impl Ord for MyDepTypeId
sourceimpl PartialEq<MyDepTypeId> for MyDepTypeId
impl PartialEq<MyDepTypeId> for MyDepTypeId
sourcefn eq(&self, other: &MyDepTypeId) -> bool
fn eq(&self, other: &MyDepTypeId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MyDepTypeId) -> bool
fn ne(&self, other: &MyDepTypeId) -> bool
This method tests for !=
.
sourceimpl PartialOrd<MyDepTypeId> for MyDepTypeId
impl PartialOrd<MyDepTypeId> for MyDepTypeId
sourcefn partial_cmp(&self, other: &MyDepTypeId) -> Option<Ordering>
fn partial_cmp(&self, other: &MyDepTypeId) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for MyDepTypeId
impl DetachedDepObjId for MyDepTypeId
impl Eq for MyDepTypeId
impl StructuralEq for MyDepTypeId
impl StructuralPartialEq for MyDepTypeId
Auto Trait Implementations
impl !RefUnwindSafe for MyDepTypeId
impl Send for MyDepTypeId
impl Sync for MyDepTypeId
impl Unpin for MyDepTypeId
impl !UnwindSafe for MyDepTypeId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more