pub enum YankInstance {
block_node(YankInstanceBlockNode),
chardev(YankInstanceChardev),
migration,
}
Variants§
Implementations§
Source§impl YankInstance
impl YankInstance
pub fn type_(&self) -> YankInstanceType
Trait Implementations§
Source§impl Clone for YankInstance
impl Clone for YankInstance
Source§fn clone(&self) -> YankInstance
fn clone(&self) -> YankInstance
Returns a duplicate 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 YankInstance
impl Debug for YankInstance
Source§impl<'de> Deserialize<'de> for YankInstance
impl<'de> Deserialize<'de> for YankInstance
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
Source§impl From<YankInstanceBlockNode> for YankInstance
impl From<YankInstanceBlockNode> for YankInstance
Source§fn from(val: YankInstanceBlockNode) -> Self
fn from(val: YankInstanceBlockNode) -> Self
Converts to this type from the input type.
Source§impl From<YankInstanceChardev> for YankInstance
impl From<YankInstanceChardev> for YankInstance
Source§fn from(val: YankInstanceChardev) -> Self
fn from(val: YankInstanceChardev) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for YankInstance
impl RefUnwindSafe for YankInstance
impl Send for YankInstance
impl Sync for YankInstance
impl Unpin for YankInstance
impl UnwindSafe for YankInstance
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