Struct kotlin_poet_rs::spec::KDoc
source · pub struct KDoc { /* private fields */ }
Expand description
Represents a Kotlin documentation comment in KDoc format.
Entities that support KDoc should usually store it as singular instance and merge multiple KDocs into one.
Implementations§
Trait Implementations§
source§impl RenderKotlin for KDoc
impl RenderKotlin for KDoc
source§fn render_string(&self) -> String
fn render_string(&self) -> String
Shortcut method for converting RenderKotlin::render_into output into String.
Auto Trait Implementations§
impl Freeze for KDoc
impl RefUnwindSafe for KDoc
impl Send for KDoc
impl Sync for KDoc
impl Unpin for KDoc
impl UnwindSafe for KDoc
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)