pub struct UifOps(pub(crate) u16);Expand description
Tuple Fields§
§0: u16Implementations§
Source§impl UifOps
impl UifOps
pub(crate) const ERROR: &'static str = "expected a comma separated list of `+`, `-`, `*`, `/`, `%`, `&`, `|`, `^`, `<<`, or `>>`"
pub fn contains(self, op: UifOp) -> bool
pub fn is_empty(self) -> bool
pub fn insert(&mut self, op: UifOp)
pub(crate) fn iter(self) -> impl Iterator<Item = UifOp>
Trait Implementations§
impl Copy for UifOps
Source§impl<'de> Deserialize<'de> for UifOps
impl<'de> Deserialize<'de> for UifOps
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 UifOps
impl StructuralPartialEq for UifOps
Auto Trait Implementations§
impl Freeze for UifOps
impl RefUnwindSafe for UifOps
impl Send for UifOps
impl Sync for UifOps
impl Unpin for UifOps
impl UnsafeUnpin for UifOps
impl UnwindSafe for UifOps
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