fn fmt()

in reverie-syscalls/src/macros.rs [564:589]


            fn fmt<M: $crate::MemoryAccess>(
                &self,
                memory: &M,
                outputs: bool,
                f: &mut ::core::fmt::Formatter,
            ) -> ::core::fmt::Result {
                match self {
                    $(
                        $name::$item(x) => $crate::Displayable::fmt(x, memory, outputs, f),
                    )*
                    $name::Other(num, args) => {
                        // Write out the raw arguments.
                        write!(
                            f,
                            "{:?}({}, {}, {}, {}, {}, {})",
                            num,
                            args.arg0,
                            args.arg1,
                            args.arg2,
                            args.arg3,
                            args.arg4,
                            args.arg5
                        )
                    }
                }
            }