Struct xmp_toolkit::XmpTimeZone
source · pub struct XmpTimeZone {
pub hour: i32,
pub minute: i32,
}
Expand description
The time zone portion of XmpTime
.
Fields§
§hour: i32
The time zone hour in the range -23..+23. Negative numbers are west of UTC; positive numbers are east.
minute: i32
The time zone minute in the range 0..59.
Trait Implementations§
source§impl Clone for XmpTimeZone
impl Clone for XmpTimeZone
source§fn clone(&self) -> XmpTimeZone
fn clone(&self) -> XmpTimeZone
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for XmpTimeZone
impl Debug for XmpTimeZone
source§impl Default for XmpTimeZone
impl Default for XmpTimeZone
source§fn default() -> XmpTimeZone
fn default() -> XmpTimeZone
Returns the “default value” for a type. Read more
source§impl PartialEq for XmpTimeZone
impl PartialEq for XmpTimeZone
source§fn eq(&self, other: &XmpTimeZone) -> bool
fn eq(&self, other: &XmpTimeZone) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for XmpTimeZone
impl StructuralPartialEq for XmpTimeZone
Auto Trait Implementations§
impl Freeze for XmpTimeZone
impl RefUnwindSafe for XmpTimeZone
impl Send for XmpTimeZone
impl Sync for XmpTimeZone
impl Unpin for XmpTimeZone
impl UnwindSafe for XmpTimeZone
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more