pub struct MoveStructLayout(/* private fields */);Implementations§
Source§impl MoveStructLayout
impl MoveStructLayout
pub fn new(types: Vec<MoveTypeLayout>) -> Self
pub fn fields(&self) -> &[MoveTypeLayout]
Trait Implementations§
Source§impl Clone for MoveStructLayout
impl Clone for MoveStructLayout
Source§fn clone(&self) -> MoveStructLayout
fn clone(&self) -> MoveStructLayout
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MoveStructLayout
impl Debug for MoveStructLayout
Source§impl<'de> Deserialize<'de> for MoveStructLayout
impl<'de> Deserialize<'de> for MoveStructLayout
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'d> DeserializeSeed<'d> for &MoveStructLayout
impl<'d> DeserializeSeed<'d> for &MoveStructLayout
Source§type Value = MoveStruct
type Value = MoveStruct
The type produced by using this seed.
Source§fn deserialize<D: Deserializer<'d>>(
self,
deserializer: D,
) -> Result<Self::Value, D::Error>
fn deserialize<D: Deserializer<'d>>( self, deserializer: D, ) -> Result<Self::Value, D::Error>
Equivalent to the more common
Deserialize::deserialize method, except
with some initial piece of data (the seed) passed in.Auto Trait Implementations§
impl Freeze for MoveStructLayout
impl RefUnwindSafe for MoveStructLayout
impl Send for MoveStructLayout
impl Sync for MoveStructLayout
impl Unpin for MoveStructLayout
impl UnwindSafe for MoveStructLayout
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