[−][src]Trait gf::support::bitvec::CastFromBitVec
A type that can be constructed from a bit vector via an integer cast.
Required methods
fn cast_from_bit_vec(src: BitVec) -> Result<Self, CastFromBitVecError>
Cast a bit vector into an integer.
If the bit vector is shorter than the integer, it will be extended using the appropriate signedness. If the bit vector is longer than the integer, it will be truncated according to the signedness as long as no significant bits would be discarded.