pub enum InfoReturn {
Float,
ReciprocalFloat,
Uint,
}Expand description
The type a resinfo or sample_info instruction returns (the _uint and _rcpfloat suffixes of Microsoft’s
listing; none suffix is a float).
Variants§
Float
A float.
ReciprocalFloat
The reciprocal of a float (resinfo_rcpfloat; the games’ programs do not use it).
Uint
An unsigned integer (_uint).
Trait Implementations§
Source§impl Clone for InfoReturn
impl Clone for InfoReturn
impl Copy for InfoReturn
Source§impl Debug for InfoReturn
impl Debug for InfoReturn
impl Eq for InfoReturn
Source§impl PartialEq for InfoReturn
impl PartialEq for InfoReturn
impl StructuralPartialEq for InfoReturn
Auto Trait Implementations§
impl Forget for InfoReturn
impl Freeze for InfoReturn
impl RefUnwindSafe for InfoReturn
impl Send for InfoReturn
impl Sync for InfoReturn
impl Unpin for InfoReturn
impl UnsafeUnpin for InfoReturn
impl UnwindSafe for InfoReturn
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more