pub struct Config {
pub max_packages: usize,
pub max_type_size: usize,
pub max_interface_items: usize,
pub max_world_items: usize,
pub max_pkg_items: usize,
pub max_type_parts: usize,
pub max_files_per_package: usize,
pub max_resource_items: usize,
}
Fields§
§max_packages: usize
§max_type_size: usize
§max_interface_items: usize
§max_world_items: usize
§max_pkg_items: usize
§max_type_parts: usize
§max_files_per_package: usize
§max_resource_items: usize
Trait Implementations§
source§impl Arbitrary<'_> for Config
impl Arbitrary<'_> for Config
source§fn arbitrary(u: &mut Unstructured<'_>) -> Result<Config>
fn arbitrary(u: &mut Unstructured<'_>) -> Result<Config>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moreAuto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)