pub struct CustomPreviewBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> CustomPreviewBuilder<'a>
impl<'a> CustomPreviewBuilder<'a>
Sourcepub fn body_getter_id(
self,
body_getter_id: impl Into<RemoteObjectId<'a>>,
) -> Self
pub fn body_getter_id( self, body_getter_id: impl Into<RemoteObjectId<'a>>, ) -> Self
If formatter returns true as a result of formatter.hasBody call then bodyGetterId will contain RemoteObjectId for the function that returns result of formatter.body(object, config) call. The result value is json ML array.
pub fn build(self) -> CustomPreview<'a>
Auto Trait Implementations§
impl<'a> Freeze for CustomPreviewBuilder<'a>
impl<'a> RefUnwindSafe for CustomPreviewBuilder<'a>
impl<'a> Send for CustomPreviewBuilder<'a>
impl<'a> Sync for CustomPreviewBuilder<'a>
impl<'a> Unpin for CustomPreviewBuilder<'a>
impl<'a> UnsafeUnpin for CustomPreviewBuilder<'a>
impl<'a> UnwindSafe for CustomPreviewBuilder<'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