fn assemble<E>(self, width: u8, index: u8) -> Result<BitIdx<R>, E>
	where E: Error {
		//  Fail if the transported type width does not match the destination.
		if width != bits_of::<R>() as u8 {
			return Err(E::invalid_type(
				Unexpected::Unsigned(width as u64),
				&self,
			));
		}

		//  Capture an invalid index value and route it to the error handler.
		BitIdx::<R>::new(index).map_err(|_| {
			E::invalid_value(Unexpected::Unsigned(index as u64), &self)
		})
	}
/// Attempts to assemble deserialized components into an output value.
Attempts to assemble deserialized components into an output value.
Attempts to assemble deserialized components into an output value .
fn assemble<E>(self, width: u8, index: u8) -> Result<BitIdx<R>, E>
	where E: Error {
		//  Fail if the transported type width does not match the destination.
		if width != bits_of::<R>() as u8 {
			return Err(E::invalid_type(
				Unexpected::Unsigned(width as u64),
				&self,
			));
		}
		//  Capture an invalid index value and route it to the error handler.
		BitIdx::<R>::new(index).map_err(|_| {
			E::invalid_value(Unexpected::Unsigned(index as u64), &self)
		})
	}
fn assemble < E > ( self , width : u8 , index : u8 ) -> Result < BitIdx < R > , E > where E : Error { //  Fail if the transported type width does not match the destination. if width != bits_of :: < R > ( ) as u8 { return Err ( E :: invalid_type ( Unexpected :: Unsigned ( width as u64 ) , & self , ) ) ; } //  Capture an invalid index value and route it to the error handler. BitIdx :: < R > :: new ( index ) . map_err ( | _ | { E :: invalid_value ( Unexpected :: Unsigned ( index as u64 ) , & self ) } ) }
Attempts to assemble deserialized components into an output value.
Attempts to assemble deserialized components into an output value .
self
width
u8
index
u8
self
width
u8
index
u8