pub struct MemoryQuestion(/* private fields */);Expand description
A question put to memory in words.
Kept as its own type rather than a bare string so the cap is stated once and so a reader of the port can tell a question from an identifier at a glance.
Implementations§
Trait Implementations§
Source§impl Clone for MemoryQuestion
impl Clone for MemoryQuestion
Source§fn clone(&self) -> MemoryQuestion
fn clone(&self) -> MemoryQuestion
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 moreSource§impl Debug for MemoryQuestion
impl Debug for MemoryQuestion
Source§impl<'de> Deserialize<'de> for MemoryQuestion
impl<'de> Deserialize<'de> for MemoryQuestion
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 MemoryQuestion
Source§impl PartialEq for MemoryQuestion
impl PartialEq for MemoryQuestion
Source§impl Serialize for MemoryQuestion
impl Serialize for MemoryQuestion
impl StructuralPartialEq for MemoryQuestion
Auto Trait Implementations§
impl Freeze for MemoryQuestion
impl RefUnwindSafe for MemoryQuestion
impl Send for MemoryQuestion
impl Sync for MemoryQuestion
impl Unpin for MemoryQuestion
impl UnsafeUnpin for MemoryQuestion
impl UnwindSafe for MemoryQuestion
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