pub enum SlotDefaultType {
None,
Static,
Dynamic,
}Expand description
What kind of default value a slot has.
Variants§
None
No default: the slot must be given a value, as with (default ?NONE).
Static
A fixed value, evaluated once when the construct is defined.
Dynamic
An expression re-evaluated for each new fact or instance, as with
(default-dynamic ...).
Trait Implementations§
Source§impl Clone for SlotDefaultType
impl Clone for SlotDefaultType
impl Copy for SlotDefaultType
Source§impl Debug for SlotDefaultType
impl Debug for SlotDefaultType
impl Eq for SlotDefaultType
Source§impl PartialEq for SlotDefaultType
impl PartialEq for SlotDefaultType
impl StructuralPartialEq for SlotDefaultType
Auto Trait Implementations§
impl Freeze for SlotDefaultType
impl RefUnwindSafe for SlotDefaultType
impl Send for SlotDefaultType
impl Sync for SlotDefaultType
impl Unpin for SlotDefaultType
impl UnsafeUnpin for SlotDefaultType
impl UnwindSafe for SlotDefaultType
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