Struct editor::Reference
[−]
[src]
pub struct Reference { pub from_ty: Type, pub from_obj: Object, pub to_type: Type, pub to_obj: Object, pub cascade: bool, }
Stores information about a reference.
Fields
from_ty: Type
The type of the from object.
from_obj: Object
The id of the from object.
to_type: Type
The type of the to object.
to_obj: Object
The id of the to object.
cascade: bool
Whether to delete objects using this reference.
When false
, deletion will be cancelled with an error.