[−][src]Struct measureme::stringtable::StringTableBuilder
Write-only version of the string table
Implementations
impl<S: SerializationSink> StringTableBuilder<S>
[src]
pub fn new(data_sink: Arc<S>, index_sink: Arc<S>) -> StringTableBuilder<S>
[src]
pub fn map_virtual_to_concrete_string(
&self,
virtual_id: StringId,
concrete_id: StringId
)
[src]
&self,
virtual_id: StringId,
concrete_id: StringId
)
Creates a mapping so that virtual_id
will resolve to the contents of
concrete_id
when reading the string table.
pub fn bulk_map_virtual_to_single_concrete_string<I>(
&self,
virtual_ids: I,
concrete_id: StringId
) where
I: Iterator<Item = StringId> + ExactSizeIterator,
[src]
&self,
virtual_ids: I,
concrete_id: StringId
) where
I: Iterator<Item = StringId> + ExactSizeIterator,
pub fn alloc<STR: SerializableString + ?Sized>(&self, s: &STR) -> StringId
[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for StringTableBuilder<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<S> Send for StringTableBuilder<S>
impl<S> Sync for StringTableBuilder<S>
impl<S> Unpin for StringTableBuilder<S>
impl<S> UnwindSafe for StringTableBuilder<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,