#[repr(C)]pub struct pm_constant_t {
pub start: *const u8,
pub length: usize,
}
Expand description
A constant in the pool which effectively stores a string.
Fields§
§start: *const u8
A pointer to the start of the string.
length: usize
The length of the string.
Trait Implementations§
Source§impl Clone for pm_constant_t
impl Clone for pm_constant_t
Source§fn clone(&self) -> pm_constant_t
fn clone(&self) -> pm_constant_t
Returns a duplicate of the value. Read more
1.0.0 · 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 pm_constant_t
impl Debug for pm_constant_t
Source§impl Default for pm_constant_t
impl Default for pm_constant_t
impl Copy for pm_constant_t
Auto Trait Implementations§
impl Freeze for pm_constant_t
impl RefUnwindSafe for pm_constant_t
impl !Send for pm_constant_t
impl !Sync for pm_constant_t
impl Unpin for pm_constant_t
impl UnwindSafe for pm_constant_t
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