pub enum AxisSource {
Auto,
Manual,
}Expand description
通り芯の出所。
Variants§
Auto
柱位置からの自動生成(crate::axis_gen::generate_axes)が作った通り。
再生成のたびに作り直される。
Manual
利用者が作成・改名した通り、および ST-Bridge から取り込んだ通り。 自動生成では作り直さず、そのまま保持する。
Trait Implementations§
Source§impl Clone for AxisSource
impl Clone for AxisSource
Source§fn clone(&self) -> AxisSource
fn clone(&self) -> AxisSource
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 AxisSource
Source§impl Debug for AxisSource
impl Debug for AxisSource
Source§impl Default for AxisSource
impl Default for AxisSource
Source§fn default() -> AxisSource
fn default() -> AxisSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AxisSource
impl<'de> Deserialize<'de> for AxisSource
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 AxisSource
Source§impl PartialEq for AxisSource
impl PartialEq for AxisSource
Source§fn eq(&self, other: &AxisSource) -> bool
fn eq(&self, other: &AxisSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AxisSource
impl Serialize for AxisSource
impl StructuralPartialEq for AxisSource
Auto Trait Implementations§
impl Freeze for AxisSource
impl RefUnwindSafe for AxisSource
impl Send for AxisSource
impl Sync for AxisSource
impl Unpin for AxisSource
impl UnsafeUnpin for AxisSource
impl UnwindSafe for AxisSource
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