pub trait MuscleTrait {
    // Required methods
    fn get_antagonist(&self) -> &[AntagonistProperty];
    fn take_antagonist(&mut self) -> Vec<AntagonistProperty>;
    fn get_blood_supply(&self) -> &[BloodSupplyProperty];
    fn take_blood_supply(&mut self) -> Vec<BloodSupplyProperty>;
    fn get_insertion(&self) -> &[InsertionProperty];
    fn take_insertion(&mut self) -> Vec<InsertionProperty>;
    fn get_muscle_action(&self) -> &[MuscleActionProperty];
    fn take_muscle_action(&mut self) -> Vec<MuscleActionProperty>;
    fn get_nerve(&self) -> &[NerveProperty];
    fn take_nerve(&mut self) -> Vec<NerveProperty>;
}
Expand description

This trait is for properties from https://schema.org/Muscle.

Required Methods§

source

fn get_antagonist(&self) -> &[AntagonistProperty]

Get https://schema.org/antagonist from Self as borrowed slice.

source

fn take_antagonist(&mut self) -> Vec<AntagonistProperty>

Take https://schema.org/antagonist from Self as owned vector.

source

fn get_blood_supply(&self) -> &[BloodSupplyProperty]

Get https://schema.org/bloodSupply from Self as borrowed slice.

source

fn take_blood_supply(&mut self) -> Vec<BloodSupplyProperty>

Take https://schema.org/bloodSupply from Self as owned vector.

source

fn get_insertion(&self) -> &[InsertionProperty]

Get https://schema.org/insertion from Self as borrowed slice.

source

fn take_insertion(&mut self) -> Vec<InsertionProperty>

Take https://schema.org/insertion from Self as owned vector.

source

fn get_muscle_action(&self) -> &[MuscleActionProperty]

Get https://schema.org/muscleAction from Self as borrowed slice.

source

fn take_muscle_action(&mut self) -> Vec<MuscleActionProperty>

Take https://schema.org/muscleAction from Self as owned vector.

source

fn get_nerve(&self) -> &[NerveProperty]

Get https://schema.org/nerve from Self as borrowed slice.

source

fn take_nerve(&mut self) -> Vec<NerveProperty>

Take https://schema.org/nerve from Self as owned vector.

Implementors§