pub struct ScalaTrait {
pub name: String,
pub type_params: Vec<String>,
pub extends_list: Vec<String>,
pub abstract_methods: Vec<ScalaMethod>,
pub concrete_methods: Vec<ScalaMethod>,
}Expand description
A Scala trait declaration.
Fields§
§name: StringTrait name
type_params: Vec<String>Type parameters
extends_list: Vec<String>Extends list
abstract_methods: Vec<ScalaMethod>Abstract method signatures
concrete_methods: Vec<ScalaMethod>Concrete method implementations
Trait Implementations§
Source§impl Clone for ScalaTrait
impl Clone for ScalaTrait
Source§fn clone(&self) -> ScalaTrait
fn clone(&self) -> ScalaTrait
Returns a duplicate 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 ScalaTrait
impl Debug for ScalaTrait
Source§impl Display for ScalaTrait
impl Display for ScalaTrait
Source§impl PartialEq for ScalaTrait
impl PartialEq for ScalaTrait
impl StructuralPartialEq for ScalaTrait
Auto Trait Implementations§
impl Freeze for ScalaTrait
impl RefUnwindSafe for ScalaTrait
impl Send for ScalaTrait
impl Sync for ScalaTrait
impl Unpin for ScalaTrait
impl UnsafeUnpin for ScalaTrait
impl UnwindSafe for ScalaTrait
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