pub trait KorokTrait: Debug {
// Required methods
fn node(&self) -> &Option<Node>;
fn set_node(&mut self, node: Option<Node>);
// Provided method
fn attributes(&self) -> Option<&Attributes<'_>> { ... }
}pub trait KorokTrait: Debug {
// Required methods
fn node(&self) -> &Option<Node>;
fn set_node(&mut self, node: Option<Node>);
// Provided method
fn attributes(&self) -> Option<&Attributes<'_>> { ... }
}