pub struct WriterGroup<'w> { /* private fields */ }Implementations§
Source§impl<'w> WriterGroup<'w>
impl<'w> WriterGroup<'w>
Sourcepub fn add_channel<T: WritableType>(
&mut self,
name: impl Into<String>,
) -> Result<WriterChannel<'_, T>>
pub fn add_channel<T: WritableType>( &mut self, name: impl Into<String>, ) -> Result<WriterChannel<'_, T>>
Add (or look up) a channel within this group.
Sourcepub fn add_property(
&mut self,
name: impl Into<String>,
value: PropertyValue,
) -> Result<&mut Self>
pub fn add_property( &mut self, name: impl Into<String>, value: PropertyValue, ) -> Result<&mut Self>
Add a group-level property.
Auto Trait Implementations§
impl<'w> Freeze for WriterGroup<'w>
impl<'w> RefUnwindSafe for WriterGroup<'w>
impl<'w> Send for WriterGroup<'w>
impl<'w> Sync for WriterGroup<'w>
impl<'w> Unpin for WriterGroup<'w>
impl<'w> !UnwindSafe for WriterGroup<'w>
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