pub struct PrologBuilder { /* private fields */ }Implementations§
Source§impl PrologBuilder
impl PrologBuilder
pub fn new(config: PrologLanguage) -> Self
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 structure from the source text.
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 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