Home
last modified time | relevance | path

Searched refs:type_from (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/serde_derive/src/internals/
Dcheck.rs318 if cont.attrs.type_from().is_some() { in check_transparent()
414 if cont.attrs.type_from().is_some() && cont.attrs.type_try_from().is_some() { in check_from_and_try_from()
Dattr.rs218 type_from: Option<syn::Type>, field
303 let mut type_from = Attr::none(cx, FROM); in from_ast() localVariable
517 type_from.set_opt(&m.path, Some(from_ty)); in from_ast()
614 type_from: type_from.get(), in from_ast()
658 pub fn type_from(&self) -> Option<&syn::Type> { in type_from() method
659 self.type_from.as_ref() in type_from()
/external/scapy/scapy/contrib/
Dbgp.py1655 def __init__(self, name, default, cls, remain=0, type_from=(0, 0)): argument
1657 self.type_from = type_from
1661 type_high, type_low = self.type_from(pkt)
1762 type_from=lambda x: (x.type_high, x.type_low)
Dhttp2.py1193 def __init__(self, name, default, length_from, type_from): argument
1197 self._type_from = type_from
1302 type_from='type'
Dhttp2.uts247 f = h2.HPackStrLenField('data', h2.HPackLiteralString(''), length_from=lambda p: p.len, type_from='…
267 f = h2.HPackStrLenField('data', h2.HPackLiteralString(''), length_from=lambda p: p.len, type_from='…
308 f = h2.HPackStrLenField('data', h2.HPackLiteralString(''), length_from=lambda p: p.len, type_from='…
321 f = h2.HPackStrLenField('data', h2.HPackLiteralString(''), length_from=lambda p: p.len, type_from='…
334 f = h2.HPackStrLenField('data', h2.HPackLiteralString(''), length_from=lambda p: p.len, type_from='…
358 f = h2.HPackStrLenField('data', h2.HPackLiteralString(''), length_from=lambda p: p.len, type_from='…
370 f = h2.HPackStrLenField('data', h2.HPackLiteralString(''), length_from=lambda p: p.len, type_from='…
/external/rust/crates/serde_derive/src/
Dde.rs277 } else if let Some(type_from) = cont.attrs.type_from() { in deserialize_body()
278 deserialize_from(type_from) in deserialize_body()
307 || cont.attrs.type_from().is_some() in deserialize_in_place_body()
388 fn deserialize_from(type_from: &syn::Type) -> Fragment { in deserialize_from()
391 <#type_from as _serde::Deserialize>::deserialize(__deserializer), in deserialize_from()