pub struct Attribute<T: Id> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl GetFromId<AttributeId<StructureId>, Attribute<StructureId>> for Problem
impl GetFromId<AttributeId<StructureId>, Attribute<StructureId>> for Problem
fn get(&self, id: AttributeId<StructureId>) -> Option<&Attribute<StructureId>>
Source§impl GetFromId<AttributeId<StructureId>, Attribute<StructureId>> for Structure
impl GetFromId<AttributeId<StructureId>, Attribute<StructureId>> for Structure
fn get(&self, id: AttributeId<StructureId>) -> Option<&Attribute<StructureId>>
Source§impl WithExpr for Attribute<ClassId>
impl WithExpr for Attribute<ClassId>
fn expr(&self) -> &Option<Expr>
fn set_expr(&mut self, expr: Option<Expr>)
fn entries(&self) -> Entries
fn resolve_type_expr(&mut self, entries: &TypeEntries) -> Result<(), Error>
fn resolve_expr( &self, problem: &Problem, entries: &Entries, ) -> Result<Self, Error>
fn check_parameter_size(&self, problem: &Problem) -> Result<(), Error>
fn check_type(&self, problem: &Problem) -> Result<(), Error>
Source§impl WithExpr for Attribute<StructureId>
impl WithExpr for Attribute<StructureId>
fn expr(&self) -> &Option<Expr>
fn set_expr(&mut self, expr: Option<Expr>)
fn entries(&self) -> Entries
fn resolve_type_expr(&mut self, entries: &TypeEntries) -> Result<(), Error>
fn resolve_expr( &self, problem: &Problem, entries: &Entries, ) -> Result<Self, Error>
fn check_parameter_size(&self, problem: &Problem) -> Result<(), Error>
fn check_type(&self, problem: &Problem) -> Result<(), Error>
Source§impl<T: Id> WithType for Attribute<T>
impl<T: Id> WithType for Attribute<T>
fn typ(&self) -> &Type
fn set_type(&mut self, typ: Type)
fn resolve_type_children(&mut self, _: &TypeEntries) -> Result<(), Error>
fn check_interval_children(&self, _: &Problem) -> Result<(), Error>
fn resolve_type(&mut self, entries: &TypeEntries) -> Result<(), Error>
fn check_interval(&self, problem: &Problem) -> Result<(), Error>
Auto Trait Implementations§
impl<T> Freeze for Attribute<T>where
T: Freeze,
impl<T> RefUnwindSafe for Attribute<T>where
T: RefUnwindSafe,
impl<T> Send for Attribute<T>where
T: Send,
impl<T> Sync for Attribute<T>where
T: Sync,
impl<T> Unpin for Attribute<T>where
T: Unpin,
impl<T> UnwindSafe for Attribute<T>where
T: UnwindSafe,
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