pub struct RecordBuilder<'a> { /* private fields */ }Expand description
Builder for Record.
Implementations§
Source§impl<'a> RecordBuilder<'a>
impl<'a> RecordBuilder<'a>
Sourcepub fn target_static(self, target: &'static str) -> Self
pub fn target_static(self, target: &'static str) -> Self
Set target to a 'static string.
Sourcepub fn module_path(self, path: Option<&'a str>) -> Self
pub fn module_path(self, path: Option<&'a str>) -> Self
Set module_path.
Sourcepub fn module_path_static(self, path: &'static str) -> Self
pub fn module_path_static(self, path: &'static str) -> Self
Set module_path to a 'static string.
Sourcepub fn file_static(self, file: &'static str) -> Self
pub fn file_static(self, file: &'static str) -> Self
Set file to a 'static string.
Sourcepub fn key_values(self, kvs: impl Into<KeyValues<'a>>) -> Self
pub fn key_values(self, kvs: impl Into<KeyValues<'a>>) -> Self
Set key_values
Trait Implementations§
Source§impl<'a> Debug for RecordBuilder<'a>
impl<'a> Debug for RecordBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for RecordBuilder<'a>
impl<'a> !RefUnwindSafe for RecordBuilder<'a>
impl<'a> !Send for RecordBuilder<'a>
impl<'a> !Sync for RecordBuilder<'a>
impl<'a> Unpin for RecordBuilder<'a>
impl<'a> !UnwindSafe for RecordBuilder<'a>
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