You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pubtraitToHexExt{/// Encode the hex strict representing `self` into the result with prefix `0x`. Lower case/// letters are used (e.g. `f9b4ca`)fnencode_hex_with_prefix<T: iter::FromIterator<char>>(&self) -> T;/// Encode the hex strict representing `self` into the result with prefix `0X`. Upper case/// letters are used (e.g. `F9B4CA`)fnencode_hex_upper_with_prefix<T: iter::FromIterator<char>>(&self) -> T;}impl<T:ToHex + AsRef<[u8]>>ToHexExtforT{fnencode_hex_with_prefix<U: iter::FromIterator<char>>(&self) -> U{encode_to_iter(HEX_CHARS_LOWER,&["0x".as_ref(),self.as_ref()].concat())}fnencode_hex_upper_with_prefix<U: iter::FromIterator<char>>(&self) -> U{encode_to_iter(HEX_CHARS_UPPER,&["0X".as_ref(),self.as_ref()].concat())}}
But I find that maybe need a ext subdir for doing such work for all apis.
The text was updated successfully, but these errors were encountered:
Such as:
But I find that maybe need a
ext
subdir for doing such work for all apis.The text was updated successfully, but these errors were encountered: