pub enum MinimumUpdateIntervalSettings {
Default,
Custom(Duration),
}展开描述
定义帧更新之间的最小间隔。
变体§
trait 实现§
Source§impl Clone for MinimumUpdateIntervalSettings
impl Clone for MinimumUpdateIntervalSettings
Source§fn clone(&self) -> MinimumUpdateIntervalSettings
fn clone(&self) -> MinimumUpdateIntervalSettings
返回该值的副本。 了解更多
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source 执行复制赋值。 了解更多impl Copy for MinimumUpdateIntervalSettings
impl Eq for MinimumUpdateIntervalSettings
impl StructuralPartialEq for MinimumUpdateIntervalSettings
自动 trait 实现§
impl Freeze for MinimumUpdateIntervalSettings
impl RefUnwindSafe for MinimumUpdateIntervalSettings
impl Send for MinimumUpdateIntervalSettings
impl Sync for MinimumUpdateIntervalSettings
impl Unpin for MinimumUpdateIntervalSettings
impl UnsafeUnpin for MinimumUpdateIntervalSettings
impl UnwindSafe for MinimumUpdateIntervalSettings
Blanket 实现§
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
从拥有的值可变地借用。 了解更多
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
当
into_left 为 true 时,将 self 转换为
Left 变体的
Either<Self, Self>;
否则将其转换为
Right 变体的
Either<Self, Self>。
了解更多Source§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
当
into_left(&self) 返回 true 时,将 self 转换为
Left 变体的
Either<Self, Self>;
否则将其转换为
Right 变体的
Either<Self, Self>。
了解更多