Struct kotlin_poet_rs::spec::ClassLikeTypeName
source · pub struct ClassLikeTypeName { /* private fields */ }
Expand description
Represents a class-like type name.
This struct does not support generics, nullability or any other possible type ‘modifiers’. You can use [ClassLikeType] instead.
Implementations§
source§impl ClassLikeTypeName
impl ClassLikeTypeName
Trait Implementations§
source§impl Clone for ClassLikeTypeName
impl Clone for ClassLikeTypeName
source§fn clone(&self) -> ClassLikeTypeName
fn clone(&self) -> ClassLikeTypeName
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ClassLikeTypeName
impl Debug for ClassLikeTypeName
source§impl From<&str> for ClassLikeTypeName
impl From<&str> for ClassLikeTypeName
source§impl From<ClassLikeTypeName> for KotlinFile
impl From<ClassLikeTypeName> for KotlinFile
source§fn from(value: ClassLikeTypeName) -> Self
fn from(value: ClassLikeTypeName) -> Self
Converts to this type from the input type.
source§impl From<ClassLikeTypeName> for Type
impl From<ClassLikeTypeName> for Type
source§fn from(value: ClassLikeTypeName) -> Self
fn from(value: ClassLikeTypeName) -> Self
Converts to this type from the input type.
source§impl FromStr for ClassLikeTypeName
impl FromStr for ClassLikeTypeName
source§impl PartialEq for ClassLikeTypeName
impl PartialEq for ClassLikeTypeName
source§impl RenderKotlin for ClassLikeTypeName
impl RenderKotlin for ClassLikeTypeName
source§fn render_string(&self) -> String
fn render_string(&self) -> String
Shortcut method for converting RenderKotlin::render_into output into String.
impl StructuralPartialEq for ClassLikeTypeName
Auto Trait Implementations§
impl Freeze for ClassLikeTypeName
impl RefUnwindSafe for ClassLikeTypeName
impl Send for ClassLikeTypeName
impl Sync for ClassLikeTypeName
impl Unpin for ClassLikeTypeName
impl UnwindSafe for ClassLikeTypeName
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
)