CGDisplaySetDisplayMode

Function CGDisplaySetDisplayMode 

Source
pub unsafe extern "C-unwind" fn CGDisplaySetDisplayMode(
    display: CGDirectDisplayID,
    mode: Option<&CGDisplayMode>,
    options: Option<&CFDictionary>,
) -> CGError
Available on crate features CGDirectDisplay and CGError only.
Expand description

ยงSafety

options generics must be of the correct type.