pub struct FormatRequest<TConfiguration> {
pub file_path: PathBuf,
pub file_bytes: Vec<u8>,
pub config_id: FormatConfigId,
pub config: Arc<TConfiguration>,
pub range: FormatRange,
pub token: Arc<dyn CancellationToken>,
}
Fields§
§file_path: PathBuf
§file_bytes: Vec<u8>
§config_id: FormatConfigId
§config: Arc<TConfiguration>
§range: FormatRange
Range to format.
token: Arc<dyn CancellationToken>
Auto Trait Implementations§
impl<TConfiguration> Freeze for FormatRequest<TConfiguration>
impl<TConfiguration> !RefUnwindSafe for FormatRequest<TConfiguration>
impl<TConfiguration> Send for FormatRequest<TConfiguration>
impl<TConfiguration> Sync for FormatRequest<TConfiguration>
impl<TConfiguration> Unpin for FormatRequest<TConfiguration>
impl<TConfiguration> !UnwindSafe for FormatRequest<TConfiguration>
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