[−][src]Struct gluon_vm::gc::Move
DataDef
that moves its value directly into the pointer
useful for sized types
Trait Implementations
impl<T> DataDef for Move<T> where
T: Trace,
[src]
T: Trace,
type Value = T
The type of the value allocated.
fn size(&self) -> usize
[src]
fn initialize(self, result: WriteOnly<T>) -> &mut T
[src]
fn fields(&self) -> Option<&[InternedStr]>
[src]
fn tag(&self) -> Option<&InternedStr>
[src]
impl<'de, 'gc, T> DeserializeState<'de, DeSeed<'gc>> for Move<T> where
T: Trace + PostDeserialize,
T: DeserializeState<'de, DeSeed<'gc>>,
[src]
T: Trace + PostDeserialize,
T: DeserializeState<'de, DeSeed<'gc>>,
fn deserialize_state<D>(
seed: &mut DeSeed<'gc>,
deserializer: D
) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
seed: &mut DeSeed<'gc>,
deserializer: D
) -> Result<Self, D::Error> where
D: Deserializer<'de>,
impl<T> Trace for Move<T> where
T: Trace,
[src]
T: Trace,
Auto Trait Implementations
impl<T> RefUnwindSafe for Move<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Move<T> where
T: Send,
T: Send,
impl<T> Sync for Move<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Move<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Move<T> where
T: 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,
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> Captures<'_> for T
[src]
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
[src]
type Remainder = Choices
fn subset(
self
) -> Result<CNil, <Choices as CoproductSubsetter<CNil, HNil>>::Remainder>
[src]
self
) -> Result<CNil, <Choices as CoproductSubsetter<CNil, HNil>>::Remainder>
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
[src]
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> DowncastArc for T where
T: Downcast + Send + Sync,
[src]
T: Downcast + Send + Sync,
impl<T> DowncastSync for T where
T: Send + Sync + Any,
[src]
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<D, T> FromPtr<D> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U, I> LiftInto<U, I> for T where
U: LiftFrom<T, I>,
[src]
U: LiftFrom<T, I>,
impl<Source> Sculptor<HNil, HNil> for Source
[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>,