Check out example codes for "rust trait inheritance". It will help you in understanding the concepts better.

Code Example 1

trait A {}
trait B: A {}

struct S;

impl B for S {}

// Commenting this line will result in a "trait bound unsatisfied" error
impl A for S {}

fn main() {
    let _x: &B = &S;
}

Learn ReactJs, React Native from akashmittal.com