[−][src]Struct vhdl_parser::ast::WithPos
Fields
item: T
pos: SrcPos
Methods
impl WithPos<Designator>
[src]
pub fn into_ref(self) -> WithPos<WithRef<Designator>>
[src]
impl<T> WithPos<T>
[src]
pub fn from(item: T, pos: impl Into<SrcPos>) -> WithPos<T>
[src]
pub fn map_into<F, U>(self, f: F) -> WithPos<U> where
F: FnOnce(T) -> U,
[src]
F: FnOnce(T) -> U,
pub fn try_map_into<F, U>(self, f: F) -> Result<WithPos<U>, Diagnostic> where
F: FnOnce(T) -> Result<U, String>,
[src]
F: FnOnce(T) -> Result<U, String>,
pub fn combine_pos_with(self, other: &dyn AsRef<SrcPos>) -> Self
[src]
Trait Implementations
impl<T> AsRef<SrcPos> for WithPos<T>
[src]
impl<T: Clone> Clone for WithPos<T>
[src]
impl<T: Debug> Debug for WithPos<T>
[src]
impl<T: Display> Display for WithPos<T>
[src]
impl<'a, T: HasIdent> From<&'a T> for WithPos<Designator>
[src]
fn from(other: &'a T) -> WithPos<Designator>
[src]
impl From<WithPos<SelectedName>> for WithPos<Name>
[src]
impl From<WithPos<Symbol>> for WithPos<Designator>
[src]
impl<T: HasDesignator> HasDesignator for WithPos<T>
[src]
fn designator(&self) -> &Designator
[src]
impl<T> Into<SrcPos> for WithPos<T>
[src]
impl<T: PartialEq> PartialEq<WithPos<T>> for WithPos<T>
[src]
impl<T> Search<T> for WithPos<Target>
[src]
fn search(&self, searcher: &mut impl Searcher<T>) -> SearchResult<T>
[src]
impl<T> Search<T> for WithPos<WithRef<Designator>>
[src]
fn search(&self, searcher: &mut impl Searcher<T>) -> SearchResult<T>
[src]
impl<T> Search<T> for WithPos<SelectedName>
[src]
fn search(&self, searcher: &mut impl Searcher<T>) -> SearchResult<T>
[src]
impl<T> Search<T> for WithPos<Name>
[src]
fn search(&self, searcher: &mut impl Searcher<T>) -> SearchResult<T>
[src]
impl<T> Search<T> for WithPos<ElementConstraint>
[src]
fn search(&self, searcher: &mut impl Searcher<T>) -> SearchResult<T>
[src]
impl<T> Search<T> for WithPos<SubtypeConstraint>
[src]
fn search(&self, searcher: &mut impl Searcher<T>) -> SearchResult<T>
[src]
impl<T> Search<T> for WithPos<Expression>
[src]
fn search(&self, searcher: &mut impl Searcher<T>) -> SearchResult<T>
[src]
impl<T> Search<T> for WithPos<ContextItem>
[src]
fn search(&self, searcher: &mut impl Searcher<T>) -> SearchResult<T>
[src]
impl<T> StructuralPartialEq for WithPos<T>
[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for WithPos<T>
impl<T> Send for WithPos<T> where
T: Send,
T: Send,
impl<T> Sync for WithPos<T> where
T: Sync,
T: Sync,
impl<T> Unpin for WithPos<T> where
T: Unpin,
T: Unpin,
impl<T> !UnwindSafe for WithPos<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,