Lines Matching refs:SrcT
137 ($SrcT:ident : $( $(#[$cfg:meta])* fn $method:ident -> $DstT:ident ; )*) => {$(
141 let min = $DstT::MIN as $SrcT;
142 let max = $DstT::MAX as $SrcT;
143 if size_of::<$SrcT>() <= size_of::<$DstT>() || (min <= *self && *self <= max) {
153 ($SrcT:ident : $( $(#[$cfg:meta])* fn $method:ident -> $DstT:ident ; )*) => {$(
157 let max = $DstT::MAX as $SrcT;
158 if 0 <= *self && (size_of::<$SrcT>() <= size_of::<$DstT>() || *self <= max) {
211 ($SrcT:ident : $( $(#[$cfg:meta])* fn $method:ident -> $DstT:ident ; )*) => {$(
215 let max = $DstT::MAX as $SrcT;
216 if size_of::<$SrcT>() < size_of::<$DstT>() || *self <= max {
226 ($SrcT:ident : $( $(#[$cfg:meta])* fn $method:ident -> $DstT:ident ; )*) => {$(
230 let max = $DstT::MAX as $SrcT;
231 if size_of::<$SrcT>() <= size_of::<$DstT>() || *self <= max {
284 ($SrcT:ident : $( fn $method:ident -> $DstT:ident ; )*) => {$(