pub fn to_32_bit (&self) -> u32 {
		let mut bytes : [u8; 4] = [0; 4];
		for i in 0..4 {
			bytes[i] = self.hash[i];
		}

		return u32::from_be_bytes(bytes);
	}
/// Returns a 32-bit hash of this seed in the form of a u32.
/// 
/// Useful for random number generation using the `tcod::random` module.
Returns a 32-bit hash of this seed in the form of a u32.
Useful for random number generation using the `tcod::random` module.
Returns a 32 - bit hash of this seed in the form of a u32 . Useful for random number generation using the ` tcod :: random ` module .
pub fn to_32_bit (&self) -> u32 {
		let mut bytes : [u8; 4] = [0; 4];
		for i in 0..4 {
			bytes[i] = self.hash[i];
		}
		return u32::from_be_bytes(bytes);
	}
pub fn to_32_bit ( & self ) -> u32 { let mut bytes : [ u8 ; 4 ] = [ 0 ; 4 ] ; for i in 0 .. 4 { bytes [ i ] = self . hash [ i ] ; } return u32 :: from_be_bytes ( bytes ) ; }
Returns a 32-bit hash of this seed in the form of a u32.
Returns a 32 - bit hash of this seed in the form of a u32 .
&self
&self