pub struct Mp4FileTime(/* private fields */);
Expand description
MP4 ファイル内で使われる時刻形式(1904/1/1 からの経過秒数)
Implementations§
Source§impl Mp4FileTime
impl Mp4FileTime
Sourcepub const fn from_secs(secs: u64) -> Self
pub const fn from_secs(secs: u64) -> Self
1904/1/1 からの経過秒数を引数にとって Mp4FileTime
インスタンスを作成する
Sourcepub const fn from_unix_time(unix_time: Duration) -> Self
pub const fn from_unix_time(unix_time: Duration) -> Self
std::time::UNIX_EPOCH
を起点とした経過時間を受け取って、対応する Mp4FileTime
インスタンスを作成する
Trait Implementations§
Source§impl Clone for Mp4FileTime
impl Clone for Mp4FileTime
Source§fn clone(&self) -> Mp4FileTime
fn clone(&self) -> Mp4FileTime
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 Mp4FileTime
impl Debug for Mp4FileTime
Source§impl Default for Mp4FileTime
impl Default for Mp4FileTime
Source§fn default() -> Mp4FileTime
fn default() -> Mp4FileTime
Returns the “default value” for a type. Read more
Source§impl Hash for Mp4FileTime
impl Hash for Mp4FileTime
Source§impl Ord for Mp4FileTime
impl Ord for Mp4FileTime
Source§fn cmp(&self, other: &Mp4FileTime) -> Ordering
fn cmp(&self, other: &Mp4FileTime) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Mp4FileTime
impl PartialEq for Mp4FileTime
Source§impl PartialOrd for Mp4FileTime
impl PartialOrd for Mp4FileTime
impl Copy for Mp4FileTime
impl Eq for Mp4FileTime
impl StructuralPartialEq for Mp4FileTime
Auto Trait Implementations§
impl Freeze for Mp4FileTime
impl RefUnwindSafe for Mp4FileTime
impl Send for Mp4FileTime
impl Sync for Mp4FileTime
impl Unpin for Mp4FileTime
impl UnwindSafe for Mp4FileTime
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