pub enum LogicalGateProperties {
LHS,
RHS,
}
Variants§
Trait Implementations§
Source§impl AsRef<str> for LogicalGateProperties
impl AsRef<str> for LogicalGateProperties
Source§impl Display for LogicalGateProperties
impl Display for LogicalGateProperties
Source§impl<'_derivative_strum> From<&'_derivative_strum LogicalGateProperties> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum LogicalGateProperties> for &'static str
Source§fn from(x: &'_derivative_strum LogicalGateProperties) -> &'static str
fn from(x: &'_derivative_strum LogicalGateProperties) -> &'static str
Converts to this type from the input type.
Source§impl From<LogicalGateProperties> for &'static str
impl From<LogicalGateProperties> for &'static str
Source§fn from(x: LogicalGateProperties) -> &'static str
fn from(x: LogicalGateProperties) -> &'static str
Converts to this type from the input type.
Source§impl From<LogicalGateProperties> for String
impl From<LogicalGateProperties> for String
Source§fn from(p: LogicalGateProperties) -> Self
fn from(p: LogicalGateProperties) -> Self
Converts to this type from the input type.
Source§impl PropertyTypeDefinition for LogicalGateProperties
impl PropertyTypeDefinition for LogicalGateProperties
Source§fn property_name(&self) -> String
fn property_name(&self) -> String
The property name.
Source§fn default_value(&self) -> Value
fn default_value(&self) -> Value
The default value of the property.
Auto Trait Implementations§
impl Freeze for LogicalGateProperties
impl RefUnwindSafe for LogicalGateProperties
impl Send for LogicalGateProperties
impl Sync for LogicalGateProperties
impl Unpin for LogicalGateProperties
impl UnwindSafe for LogicalGateProperties
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
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>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more