pub struct DynamicDataFactory;Expand description
Makes DynamicData (DynamicDataFactory, 7.5.2.10).
Implementations§
Source§impl DynamicDataFactory
impl DynamicDataFactory
Sourcepub fn create_data(ty: &DynamicType) -> DynamicData
pub fn create_data(ty: &DynamicType) -> DynamicData
create_data: a value of ty with every member at its default
value (optional members absent).
Trait Implementations§
Source§impl Clone for DynamicDataFactory
impl Clone for DynamicDataFactory
Source§fn clone(&self) -> DynamicDataFactory
fn clone(&self) -> DynamicDataFactory
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 Copy for DynamicDataFactory
Source§impl Debug for DynamicDataFactory
impl Debug for DynamicDataFactory
Source§impl Default for DynamicDataFactory
impl Default for DynamicDataFactory
Source§fn default() -> DynamicDataFactory
fn default() -> DynamicDataFactory
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Forget for DynamicDataFactory
impl Freeze for DynamicDataFactory
impl Move for DynamicDataFactory
impl RefUnwindSafe for DynamicDataFactory
impl Send for DynamicDataFactory
impl Sync for DynamicDataFactory
impl Unpin for DynamicDataFactory
impl UnsafeUnpin for DynamicDataFactory
impl UnwindSafe for DynamicDataFactory
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