[][src]Struct core_foundation::set::CFSet

pub struct CFSet<T = *const c_void>(_, _);

An immutable bag of elements.

Implementations

impl CFSet[src]

pub fn from_slice<T>(elems: &[T]) -> CFSet<T> where
    T: TCFType
[src]

Creates a new set from a list of CFType instances.

impl<T> CFSet<T>[src]

pub fn len(&self) -> usize[src]

Get the number of elements in the CFSet

Trait Implementations

impl Clone for CFSet[src]

impl Debug for CFSet[src]

impl<T> Drop for CFSet<T>[src]

impl Eq for CFSet[src]

impl PartialEq<CFSet<*const c_void>> for CFSet[src]

impl<T> TCFType for CFSet<T>[src]

type Ref = CFSetRef

The reference type wrapped inside this type.

impl<'a> ToVoid<CFSet<*const c_void>> for &'a CFSet[src]

impl ToVoid<CFSet<*const c_void>> for CFSet[src]

impl ToVoid<CFSet<*const c_void>> for CFSetRef[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for CFSet<T> where
    T: RefUnwindSafe

impl<T = *const c_void> !Send for CFSet<T>

impl<T = *const c_void> !Sync for CFSet<T>

impl<T> Unpin for CFSet<T> where
    T: Unpin

impl<T> UnwindSafe for CFSet<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> FromMutVoid for T where
    T: TCFType
[src]

impl<T> FromVoid for T where
    T: TCFType
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.