Home
last modified time | relevance | path

Searched refs:with_input (Results 1 – 2 of 2) sorted by relevance

/linux/rust/zerocopy-derive/derive/
H A Dtry_from_bytes.rs113 derive_try_from_bytes(&ctx.with_input(&variant_struct), Trait::TryFromBytes) in generate_variant_structs()
167 derive_has_field_struct_union(&ctx.with_input(&variants_union), &variants_union.data); in generate_variants_union()
361 derive_has_field_struct_union(&ctx.with_input(&raw_enum), &raw_enum.data); in derive_is_bit_valid()
/linux/rust/zerocopy-derive/
H A Dutil.rs92 pub(crate) fn with_input(&self, input: &DeriveInput) -> Self { in with_input() method