Trait sherwood::FromBytes
[-] [+]
[src]
pub trait FromBytes { fn from_bytes(bytes: &[u8]) -> Option<Self>; }
Trait to convert value from a byte slice to a corresponding type
pub trait FromBytes { fn from_bytes(bytes: &[u8]) -> Option<Self>; }
Trait to convert value from a byte slice to a corresponding type
fn from_bytes(bytes: &[u8]) -> Option<Self>
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).