Trait Feature
dxgi::features
pub unsafe trait Feature { type Structure: Sized; type Result; const FLAG: u32; fn get_result(hr: i32, structure: &Self::Structure) -> Self::Result; }
type Structure: Sized
type Result
const FLAG: u32
fn get_result(hr: i32, structure: &Self::Structure) -> Self::Result
impl Feature for AllowTearing
type Structure = BOOL
type Result = bool
fn get_result(hr: i32, allow_tearing: &BOOL) -> bool