pub struct SlotElementSpec {
pub annotation: Option<Arc<str>>,
pub labels: Vec<Arc<str>>,
pub predicates: Vec<Expression>,
}Fields§
§annotation: Option<Arc<str>>§labels: Vec<Arc<str>>§predicates: Vec<Expression>Implementations§
Source§impl SlotElementSpec
impl SlotElementSpec
pub fn new( annotation: Option<Arc<str>>, labels: Vec<Arc<str>>, predicates: Vec<Expression>, ) -> SlotElementSpec
pub fn from_node_match(node_match: &NodeMatch) -> SlotElementSpec
pub fn from_relation_match(node_match: &RelationMatch) -> SlotElementSpec
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SlotElementSpec
impl RefUnwindSafe for SlotElementSpec
impl Send for SlotElementSpec
impl Sync for SlotElementSpec
impl Unpin for SlotElementSpec
impl UnwindSafe for SlotElementSpec
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