[][src]Struct glib::TimeZone

pub struct TimeZone(_);

Methods

impl TimeZone[src]

pub fn new(identifier: Option<&str>) -> TimeZone[src]

pub fn new_local() -> TimeZone[src]

pub fn new_offset(seconds: i32) -> TimeZone[src]

pub fn new_utc() -> TimeZone[src]

pub fn find_interval(&self, type_: TimeType, time_: i64) -> i32[src]

pub fn get_abbreviation(&self, interval: i32) -> Option<GString>[src]

pub fn get_identifier(&self) -> Option<GString>[src]

pub fn get_offset(&self, interval: i32) -> i32[src]

pub fn is_dst(&self, interval: i32) -> bool[src]

Trait Implementations

impl Clone for TimeZone[src]

impl Debug for TimeZone[src]

impl Eq for TimeZone[src]

impl Hash for TimeZone[src]

impl Ord for TimeZone[src]

impl PartialEq<TimeZone> for TimeZone[src]

impl PartialOrd<TimeZone> for TimeZone[src]

impl Send for TimeZone[src]

impl StaticType for TimeZone[src]

impl StructuralEq for TimeZone[src]

impl StructuralPartialEq for TimeZone[src]

impl Sync for TimeZone[src]

Auto Trait Implementations

impl RefUnwindSafe for TimeZone

impl Unpin for TimeZone

impl UnwindSafe for TimeZone

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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

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.