Skip to main content

CFIndexConvertible

Trait CFIndexConvertible 

Source
pub trait CFIndexConvertible {
    // Required method
    fn to_CFIndex(self) -> CFIndex;
}

Required Methods§

Source

fn to_CFIndex(self) -> CFIndex

Always use this method to construct a CFIndex value. It performs bounds checking to ensure the value is in range.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl CFIndexConvertible for usize

Implementors§