pub struct TextObjectId(pub CommandId);Expand description
Strongly-typed handle to a text-object command in the registry.
Tuple Fields§
§0: CommandIdTrait Implementations§
Source§impl Clone for TextObjectId
impl Clone for TextObjectId
Source§fn clone(&self) -> TextObjectId
fn clone(&self) -> TextObjectId
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 TextObjectId
Source§impl Debug for TextObjectId
impl Debug for TextObjectId
Source§impl Default for TextObjectId
impl Default for TextObjectId
Source§fn default() -> TextObjectId
fn default() -> TextObjectId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextObjectId
impl<'de> Deserialize<'de> for TextObjectId
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 TextObjectId
Source§impl Hash for TextObjectId
impl Hash for TextObjectId
Source§impl PartialEq for TextObjectId
impl PartialEq for TextObjectId
Source§impl Serialize for TextObjectId
impl Serialize for TextObjectId
impl StructuralPartialEq for TextObjectId
Auto Trait Implementations§
impl Freeze for TextObjectId
impl RefUnwindSafe for TextObjectId
impl Send for TextObjectId
impl Sync for TextObjectId
impl Unpin for TextObjectId
impl UnsafeUnpin for TextObjectId
impl UnwindSafe for TextObjectId
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.