pub struct Config {Show 14 fields
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,
pub async_: bool,
pub futures: bool,
pub streams: bool,
pub error_context: bool,
pub fixed_size_list: bool,
pub world_include: bool,
}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§async_: bool§futures: bool§streams: bool§error_context: bool§fixed_size_list: bool§world_include: boolTrait 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 moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. 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