Home
last modified time | relevance | path

Searched refs:Slf (Results 1 – 4 of 4) sorted by relevance

/linux/rust/zerocopy-derive/derive/
H A Dfrom_bytes.rs166 let field_type_trait_bounds = FieldBounds::All(&[TraitBound::Slf]); in derive_from_zeros_union()
190 let field_type_trait_bounds = FieldBounds::All(&[TraitBound::Slf]); in derive_from_bytes_union()
H A Dinto_bytes.rs91 FieldBounds::All(&[TraitBound::Slf, TraitBound::Other(Trait::Unaligned)]) in derive_into_bytes_struct()
H A Dtry_from_bytes.rs603 let field_type_trait_bounds = FieldBounds::All(&[TraitBound::Slf]); in derive_try_from_bytes_union()
/linux/rust/zerocopy-derive/
H A Dutil.rs392 Slf, enumerator
404 pub(crate) const ALL_SELF: FieldBounds<'a> = FieldBounds::All(&[TraitBound::Slf]);
405 pub(crate) const TRAILING_SELF: FieldBounds<'a> = FieldBounds::Trailing(&[TraitBound::Slf]);
426 TraitBound::Slf => slf.clone(), in normalize_bounds()