Struct starlark::values::structs::AllocStruct
source · pub struct AllocStruct<S>(pub S);
Expand description
Tuple Fields§
§0: S
Implementations§
Trait Implementations§
source§impl<K, V, S> AllocFrozenValue for AllocStruct<S>
impl<K, V, S> AllocFrozenValue for AllocStruct<S>
source§fn alloc_frozen_value(self, heap: &FrozenHeap) -> FrozenValue
fn alloc_frozen_value(self, heap: &FrozenHeap) -> FrozenValue
Allocate a value in the frozen heap and return a reference to the allocated value.
source§impl<'v, K, V, S> AllocValue<'v> for AllocStruct<S>
impl<'v, K, V, S> AllocValue<'v> for AllocStruct<S>
source§impl<K, V, S> StarlarkTypeRepr for AllocStruct<S>
impl<K, V, S> StarlarkTypeRepr for AllocStruct<S>
source§fn starlark_type_repr() -> Ty
fn starlark_type_repr() -> Ty
The representation of a type that a user would use verbatim in starlark type annotations
Auto Trait Implementations§
impl<S> RefUnwindSafe for AllocStruct<S>where
S: RefUnwindSafe,
impl<S> Send for AllocStruct<S>where
S: Send,
impl<S> Sync for AllocStruct<S>where
S: Sync,
impl<S> Unpin for AllocStruct<S>where
S: Unpin,
impl<S> UnwindSafe for AllocStruct<S>where
S: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more