pub struct Discipline {
pub name: Ident,
pub flow_nature: Option<NatureId>,
pub potential_nature: Option<NatureId>,
pub continuous: Option<bool>,
}Fields§
§name: Ident§flow_nature: Option<NatureId>§potential_nature: Option<NatureId>§continuous: Option<bool>Trait Implementations§
Source§impl Clone for Discipline
impl Clone for Discipline
Source§fn clone(&self) -> Discipline
fn clone(&self) -> Discipline
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 Discipline
impl Debug for Discipline
impl Copy for Discipline
Auto Trait Implementations§
impl Freeze for Discipline
impl RefUnwindSafe for Discipline
impl Send for Discipline
impl Sync for Discipline
impl Unpin for Discipline
impl UnwindSafe for Discipline
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