Struct tree_sitter::PropertySheet
source · Implementations
sourceimpl<P> PropertySheet<P>
impl<P> PropertySheet<P>
pub fn new(language: Language, json: &str) -> Result<Self, PropertySheetError>where
P: DeserializeOwned,
pub fn map<F, T, E>(self, f: F) -> Result<PropertySheet<T>, E>where
F: FnMut(P) -> Result<T, E>,
Auto Trait Implementations
impl<P> RefUnwindSafe for PropertySheet<P>where
P: RefUnwindSafe,
impl<P> Send for PropertySheet<P>where
P: Send,
impl<P> Sync for PropertySheet<P>where
P: Sync,
impl<P> Unpin for PropertySheet<P>where
P: Unpin,
impl<P> UnwindSafe for PropertySheet<P>where
P: UnwindSafe,
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