Struct hyperscan::PlatformRef
source · [−]pub struct PlatformRef(_);
Expand description
A borrowed reference to a Platform
.
Trait Implementations
sourceimpl AsMut<PlatformRef> for Platform
impl AsMut<PlatformRef> for Platform
sourcefn as_mut(&mut self) -> &mut PlatformRef
fn as_mut(&mut self) -> &mut PlatformRef
Converts this type into a mutable reference of the (usually inferred) input type.
sourceimpl AsRef<PlatformRef> for Platform
impl AsRef<PlatformRef> for Platform
sourcefn as_ref(&self) -> &PlatformRef
fn as_ref(&self) -> &PlatformRef
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Borrow<PlatformRef> for Platform
impl Borrow<PlatformRef> for Platform
sourcefn borrow(&self) -> &PlatformRef
fn borrow(&self) -> &PlatformRef
Immutably borrows from an owned value. Read more
sourceimpl BorrowMut<PlatformRef> for Platform
impl BorrowMut<PlatformRef> for Platform
sourcefn borrow_mut(&mut self) -> &mut PlatformRef
fn borrow_mut(&mut self) -> &mut PlatformRef
Mutably borrows from an owned value. Read more
sourceimpl ForeignTypeRef for PlatformRef
impl ForeignTypeRef for PlatformRef
type CType = hs_platform_info
type CType = hs_platform_info
The raw C type.
sourceunsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type. Read more
impl Send for PlatformRef
impl Sync for PlatformRef
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