#[repr(transparent)]pub struct Id(_);
Expand description
The internal value of a Ruby symbol.
Implementations
Trait Implementations
sourceimpl From<Id> for StaticSymbol
impl From<Id> for StaticSymbol
sourceimpl From<StaticSymbol> for Id
impl From<StaticSymbol> for Id
sourcefn from(sym: StaticSymbol) -> Self
fn from(sym: StaticSymbol) -> Self
Converts to this type from the input type.
sourceimpl FromRawId for Id
Available on crate feature rb-sys-interop
only.
impl FromRawId for Id
Available on crate feature
rb-sys-interop
only.impl Copy for Id
impl StructuralPartialEq for Id
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more