pub struct Utf8StaticStringDependency {
pub len: u32,
pub ptr: *const u8,
}Expand description
Utf8StaticStringDependency serializes the value of the pointer and the contents of the string It should not be part of the event - it’s the dependency of the StringId
Fields§
§len: u32§ptr: *const u8Trait Implementations§
Source§impl Debug for Utf8StaticStringDependency
impl Debug for Utf8StaticStringDependency
Source§impl From<&str> for Utf8StaticStringDependency
impl From<&str> for Utf8StaticStringDependency
Source§impl InProcSerialize for Utf8StaticStringDependency
impl InProcSerialize for Utf8StaticStringDependency
const IN_PROC_SIZE: InProcSize = InProcSize::Dynamic
fn get_value_size(&self) -> Option<u32>
fn write_value(&self, buffer: &mut Vec<u8>)
Source§unsafe fn read_value(window: &[u8]) -> Self
unsafe fn read_value(window: &[u8]) -> Self
Safety Read more
Source§impl Reflect for Utf8StaticStringDependency
impl Reflect for Utf8StaticStringDependency
fn reflect() -> UserDefinedType
Auto Trait Implementations§
impl Freeze for Utf8StaticStringDependency
impl RefUnwindSafe for Utf8StaticStringDependency
impl !Send for Utf8StaticStringDependency
impl !Sync for Utf8StaticStringDependency
impl Unpin for Utf8StaticStringDependency
impl UnwindSafe for Utf8StaticStringDependency
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