pub struct KtSuperclass {
pub ty: KtType,
pub args: Option<KtCode>,
}Expand description
The one superclass a class may construct: : NativeHandle(initialPtr).
Fields§
§ty: KtType§args: Option<KtCode>Constructor arguments. None renders a bare : NativeHandle, which is
what a subclass with no primary constructor writes — it delegates from
its secondary constructors instead.
Trait Implementations§
Source§impl Clone for KtSuperclass
impl Clone for KtSuperclass
Source§fn clone(&self) -> KtSuperclass
fn clone(&self) -> KtSuperclass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for KtSuperclass
impl RefUnwindSafe for KtSuperclass
impl Send for KtSuperclass
impl Sync for KtSuperclass
impl Unpin for KtSuperclass
impl UnsafeUnpin for KtSuperclass
impl UnwindSafe for KtSuperclass
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