pub struct PrologBuilder { /* private fields */ }Expand description
Prolog builder.
Implementations§
Source§impl PrologBuilder
impl PrologBuilder
Sourcepub fn new(config: PrologLanguage) -> Self
pub fn new(config: PrologLanguage) -> Self
Create a new PrologBuilder.
Trait Implementations§
Source§impl Builder<PrologLanguage> for PrologBuilder
impl Builder<PrologLanguage> for PrologBuilder
Source§fn build<'a, S: Source + ?Sized>(
&self,
source: &S,
edits: &[TextEdit],
_cache: &'a mut impl BuilderCache<PrologLanguage>,
) -> BuildOutput<PrologLanguage>
fn build<'a, S: Source + ?Sized>( &self, source: &S, edits: &[TextEdit], _cache: &'a mut impl BuilderCache<PrologLanguage>, ) -> BuildOutput<PrologLanguage>
Builds the higher-level structure (typically an AST) from the source text. Read more
Source§impl Clone for PrologBuilder
impl Clone for PrologBuilder
Source§fn clone(&self) -> PrologBuilder
fn clone(&self) -> PrologBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PrologBuilder
impl RefUnwindSafe for PrologBuilder
impl Send for PrologBuilder
impl Sync for PrologBuilder
impl Unpin for PrologBuilder
impl UnsafeUnpin for PrologBuilder
impl UnwindSafe for PrologBuilder
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