pub enum HashedNameSpelling {
Stripped,
AsWritten,
}Expand description
Re-exported because ComposeOptions carries them in public fields,
exactly as zerodds-idl-compose re-exports them: a caller that
cannot name the type cannot construct the options.
Which spelling of an escaped name a member-id hash reads.
A named type for the reason HashedIdCounter is one: Options is
Default, and the default has to be the specification’s reading, not
whatever false happens to mean.
Variants§
Stripped
The identifier without its escape underscore — long for
_long. IDL 4.2 §7.2.3.2’s reading.
AsWritten
The spelling in the file — _long, _foo. RTI Connext’s
measured reading.
Trait Implementations§
Source§impl Clone for HashedNameSpelling
impl Clone for HashedNameSpelling
Source§fn clone(&self) -> HashedNameSpelling
fn clone(&self) -> HashedNameSpelling
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 moreimpl Copy for HashedNameSpelling
Source§impl Debug for HashedNameSpelling
impl Debug for HashedNameSpelling
Source§impl Default for HashedNameSpelling
impl Default for HashedNameSpelling
Source§fn default() -> HashedNameSpelling
fn default() -> HashedNameSpelling
Returns the “default value” for a type. Read more
impl Eq for HashedNameSpelling
Source§impl PartialEq for HashedNameSpelling
impl PartialEq for HashedNameSpelling
impl StructuralPartialEq for HashedNameSpelling
Auto Trait Implementations§
impl Freeze for HashedNameSpelling
impl RefUnwindSafe for HashedNameSpelling
impl Send for HashedNameSpelling
impl Sync for HashedNameSpelling
impl Unpin for HashedNameSpelling
impl UnsafeUnpin for HashedNameSpelling
impl UnwindSafe for HashedNameSpelling
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