pub struct Entrypoint { /* private fields */ }Expand description
Named entrypoint into the query graph.
Layout: 12 bytes, align 4.
Implementations§
Source§impl Entrypoint
impl Entrypoint
Sourcepub const fn new(
name_id: StringId,
target: TransitionId,
result_type: TypeId,
) -> Self
pub const fn new( name_id: StringId, target: TransitionId, result_type: TypeId, ) -> Self
Creates a new entrypoint.
Sourcepub const fn target(&self) -> TransitionId
pub const fn target(&self) -> TransitionId
Returns the target transition ID.
Sourcepub const fn result_type(&self) -> TypeId
pub const fn result_type(&self) -> TypeId
Returns the result type ID.
Trait Implementations§
Source§impl Clone for Entrypoint
impl Clone for Entrypoint
Source§fn clone(&self) -> Entrypoint
fn clone(&self) -> Entrypoint
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Entrypoint
impl Debug for Entrypoint
impl Copy for Entrypoint
Auto Trait Implementations§
impl Freeze for Entrypoint
impl RefUnwindSafe for Entrypoint
impl Send for Entrypoint
impl Sync for Entrypoint
impl Unpin for Entrypoint
impl UnwindSafe for Entrypoint
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)