pub struct VShapeView<'a, Store: IShapeStore> {
pub store: &'a Store,
pub handle: Store::Handle,
}Expand description
A view into a shape, borrowing from a store.
This is the common currency for working with shapes in the verified runtime.
Fields§
§store: &'a Store§handle: Store::HandleTrait Implementations§
Source§impl<'a, Store: Clone + IShapeStore> Clone for VShapeView<'a, Store>
impl<'a, Store: Clone + IShapeStore> Clone for VShapeView<'a, Store>
Source§fn clone(&self) -> VShapeView<'a, Store>
fn clone(&self) -> VShapeView<'a, Store>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a, Store: Copy + IShapeStore> Copy for VShapeView<'a, Store>
impl<'a> Eq for VShapeView<'a, VShapeStore>
Source§impl<'a> IShape for VShapeView<'a, VShapeStore>
impl<'a> IShape for VShapeView<'a, VShapeStore>
Source§type StructType = VStructView<'a>
type StructType = VStructView<'a>
The struct type returned by
as_struct().Source§type Field = VFieldView<'a>
type Field = VFieldView<'a>
The field type used by struct types.
Source§fn layout(&self) -> Option<Layout>
fn layout(&self) -> Option<Layout>
Get the layout (size and alignment) of this shape. Read more
Source§fn as_struct(&self) -> Option<Self::StructType>
fn as_struct(&self) -> Option<Self::StructType>
Get struct-specific information, if this is a struct.
Source§impl<'a> PartialEq for VShapeView<'a, VShapeStore>
impl<'a> PartialEq for VShapeView<'a, VShapeStore>
Auto Trait Implementations§
impl<'a, Store> Freeze for VShapeView<'a, Store>
impl<'a, Store> RefUnwindSafe for VShapeView<'a, Store>
impl<'a, Store> Send for VShapeView<'a, Store>
impl<'a, Store> Sync for VShapeView<'a, Store>
impl<'a, Store> Unpin for VShapeView<'a, Store>
impl<'a, Store> UnsafeUnpin for VShapeView<'a, Store>
impl<'a, Store> UnwindSafe for VShapeView<'a, Store>
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