[][src]Struct core_foundation::timezone::CFTimeZone

pub struct CFTimeZone(_);

A time zone.

Implementations

impl CFTimeZone[src]

pub fn new(interval: CFTimeInterval) -> CFTimeZone[src]

pub fn system() -> CFTimeZone[src]

pub fn seconds_from_gmt(&self, date: CFDate) -> CFTimeInterval[src]

pub fn name(&self) -> CFString[src]

The timezone database ID that identifies the time zone. E.g. "America/Los_Angeles" or "Europe/Paris".

Trait Implementations

impl Clone for CFTimeZone[src]

impl ConcreteCFType for CFTimeZone[src]

impl Debug for CFTimeZone[src]

impl Default for CFTimeZone[src]

impl Drop for CFTimeZone[src]

impl Eq for CFTimeZone[src]

impl PartialEq<CFTimeZone> for CFTimeZone[src]

impl TCFType for CFTimeZone[src]

type Ref = CFTimeZoneRef

The reference type wrapped inside this type.

impl<'a> ToVoid<CFTimeZone> for &'a CFTimeZone[src]

impl ToVoid<CFTimeZone> for CFTimeZone[src]

impl ToVoid<CFTimeZone> for CFTimeZoneRef[src]

Auto Trait Implementations

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.