Struct eiffelvis_gen::event_set::Link
source · [−]pub struct Link { /* private fields */ }
Expand description
Describes an Event link
Implementations
sourceimpl Link
impl Link
sourcepub fn new(name: impl Into<String>, allow_many: bool) -> Self
pub fn new(name: impl Into<String>, allow_many: bool) -> Self
Creates a new Link with given name.
allow_many
hints to the generator that it’s ok (or not)
for this link to be used multiple times on a single event.
sourcepub fn with_target(self, target: impl Into<String>) -> Self
pub fn with_target(self, target: impl Into<String>) -> Self
Builder function that adds a target to self.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnwindSafe for Link
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more