pub fn new(hr: i32) -> HRESULT
        {
            #[allow(overflowing_literals)]
            HRESULT { hr: hr as i32 }
        }
/// Constructs a new `HRESULT` with the given numerical code.
Constructs a new `HRESULT` with the given numerical code.
Constructs a new ` HRESULT ` with the given numerical code .
pub fn new(hr: i32) -> HRESULT
        {
            #[allow(overflowing_literals)]
            HRESULT { hr: hr as i32 }
        }
pub fn new ( hr : i32 ) -> HRESULT { # [ allow ( overflowing_literals ) ] HRESULT { hr : hr as i32 } }
Constructs a new `HRESULT` with the given numerical code.
Constructs a new ` HRESULT ` with the given numerical code .
hr
i32
hr
i32