pub struct SingleType {
pub atomic: AtomicType,
pub allows_empty: bool,
}Expand description
A single type ([49] SingleType), the target of castable as.
Fields§
§atomic: AtomicTypeThe atomic type.
allows_empty: boolWhether ? follows it (the empty sequence is then castable).
Trait Implementations§
Source§impl Clone for SingleType
impl Clone for SingleType
Source§impl Debug for SingleType
impl Debug for SingleType
Source§impl Display for SingleType
impl Display for SingleType
impl Eq for SingleType
Source§impl PartialEq for SingleType
impl PartialEq for SingleType
impl StructuralPartialEq for SingleType
Auto Trait Implementations§
impl Forget for SingleType
impl Freeze for SingleType
impl RefUnwindSafe for SingleType
impl Send for SingleType
impl Sync for SingleType
impl Unpin for SingleType
impl UnsafeUnpin for SingleType
impl UnwindSafe for SingleType
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