pub struct LuaClosureExpr { /* private fields */ }Implementations§
source§impl LuaClosureExpr
impl LuaClosureExpr
pub fn get_block(&self) -> Option<LuaBlock>
pub fn get_params_list(&self) -> Option<LuaParamList>
Trait Implementations§
source§impl Clone for LuaClosureExpr
impl Clone for LuaClosureExpr
source§fn clone(&self) -> LuaClosureExpr
fn clone(&self) -> LuaClosureExpr
Returns a copy 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 moresource§impl Debug for LuaClosureExpr
impl Debug for LuaClosureExpr
source§impl Hash for LuaClosureExpr
impl Hash for LuaClosureExpr
source§impl LuaAstNode for LuaClosureExpr
impl LuaAstNode for LuaClosureExpr
fn syntax(&self) -> &LuaSyntaxNode
fn can_cast(kind: LuaSyntaxKind) -> boolwhere
Self: Sized,
fn cast(syntax: LuaSyntaxNode) -> Option<Self>where
Self: Sized,
fn child<N: LuaAstNode>(&self) -> Option<N>
fn token<N: LuaAstToken>(&self) -> Option<N>
fn token_by_kind(&self, kind: LuaTokenKind) -> Option<LuaGeneralToken>
fn tokens<N: LuaAstToken>(&self) -> LuaAstTokenChildren<N> ⓘ
fn children<N: LuaAstNode>(&self) -> LuaAstChildren<N> ⓘ
fn descendants<N: LuaAstNode>(&self) -> impl Iterator<Item = N>
fn ancestors<N: LuaAstNode>(&self) -> impl Iterator<Item = N>
fn dump(&self)
source§impl PartialEq for LuaClosureExpr
impl PartialEq for LuaClosureExpr
impl Eq for LuaClosureExpr
impl StructuralPartialEq for LuaClosureExpr
Auto Trait Implementations§
impl Freeze for LuaClosureExpr
impl !RefUnwindSafe for LuaClosureExpr
impl !Send for LuaClosureExpr
impl !Sync for LuaClosureExpr
impl Unpin for LuaClosureExpr
impl !UnwindSafe for LuaClosureExpr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)