pub enum LoadSource {
Manual,
Auto,
}Expand description
荷重をどこが作ったか。準備計算による自動生成分と利用者の手入力を区別し、 自動同期が手入力を消さないようにする。
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for LoadSource
impl Clone for LoadSource
Source§fn clone(&self) -> LoadSource
fn clone(&self) -> LoadSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LoadSource
Source§impl Debug for LoadSource
impl Debug for LoadSource
Source§impl Default for LoadSource
impl Default for LoadSource
Source§fn default() -> LoadSource
fn default() -> LoadSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoadSource
impl<'de> Deserialize<'de> for LoadSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LoadSource
Source§impl PartialEq for LoadSource
impl PartialEq for LoadSource
Source§fn eq(&self, other: &LoadSource) -> bool
fn eq(&self, other: &LoadSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LoadSource
impl Serialize for LoadSource
impl StructuralPartialEq for LoadSource
Auto Trait Implementations§
impl Freeze for LoadSource
impl RefUnwindSafe for LoadSource
impl Send for LoadSource
impl Sync for LoadSource
impl Unpin for LoadSource
impl UnsafeUnpin for LoadSource
impl UnwindSafe for LoadSource
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