pub struct FrontendRequest {
pub source_id: SourceId,
pub script_kind: ScriptKind,
pub source: Arc<SourceText>,
pub mode: FrontendMode,
}Expand description
One immutable frontend compilation request.
Fields§
§source_id: SourceIdThe compilation-assigned identity of the source.
script_kind: ScriptKindThe syntax accepted for the source.
source: Arc<SourceText>The shared, immutable source text.
mode: FrontendModeThe frontend product to produce.
Trait Implementations§
Source§impl Clone for FrontendRequest
impl Clone for FrontendRequest
Source§fn clone(&self) -> FrontendRequest
fn clone(&self) -> FrontendRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FrontendRequest
impl RefUnwindSafe for FrontendRequest
impl Send for FrontendRequest
impl Sync for FrontendRequest
impl Unpin for FrontendRequest
impl UnsafeUnpin for FrontendRequest
impl UnwindSafe for FrontendRequest
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